Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009063/0.0009063, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9862/0.9862, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2516/0.2516, allocations: 32.8 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.182e-05, allocations: 6.312 kB / 376 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002882/0.002904, allocations: 1.66 MB / 377.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000964/0.003868, allocations: 0.5297 MB / 378.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.719e-05/0.003945, allocations: 7.938 kB / 378.2 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.004283, allocations: 71.72 kB / 378.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.004627, allocations: 103.5 kB / 378.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.00492, allocations: 91.69 kB / 378.5 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.005121, allocations: 87.7 kB / 378.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005247, allocations: 15.91 kB / 378.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.005334, allocations: 43.91 kB / 378.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.005457, allocations: 43.88 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.005484, allocations: 4 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.005595, allocations: 39.98 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.005664, allocations: 27.91 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.005701, allocations: 7.938 kB / 378.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.005903, allocations: 95.59 kB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005906, allocations: 0 / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005907, allocations: 4 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.798e-06/0.00591, allocations: 0 / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005035/0.006414, allocations: 439.9 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.006455, allocations: 12.03 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.006506, allocations: 8.891 kB / 379.3 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.006688, allocations: 148.4 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.0067, allocations: 4.375 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.006723, allocations: 4.375 kB / 379.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.006852, allocations: 58.89 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.006864, allocations: 192 / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.006878, allocations: 16.11 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006886, allocations: 0 / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.006924, allocations: 8 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.007274, allocations: 283.8 kB / 379.8 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.007352, allocations: 46.98 kB / 379.9 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.007381, allocations: 15.62 kB / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.007399, allocations: 0 / 379.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.007427, allocations: 37.39 kB / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.007428, allocations: 0 / 379.9 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006548/0.008082, allocations: 177.8 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.008117, allocations: 51.41 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.008299, allocations: 230.6 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.008315, allocations: 33.64 kB / 380.4 MB, free: 416 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.008387, allocations: 150.8 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.008419, allocations: 23.8 kB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.008464, allocations: 31.36 kB / 380.6 MB, free: 196 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.008629, allocations: 0.5 MB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.83e-05/0.008657, allocations: 11.94 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.00868, allocations: 4 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.008746, allocations: 43.89 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008747, allocations: 4 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001256/0.008873, allocations: 73.59 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.008887, allocations: 4 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.008893, allocations: 3.984 kB / 381.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008908, allocations: 4 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.009, allocations: 19.92 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.009007, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.009036, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009044, allocations: 4 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.215e-05/0.009126, allocations: 164.5 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.009168, allocations: 15.91 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.009342, allocations: 95.05 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009344, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009348, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.009351, allocations: 0 / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.009743, allocations: 373 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009745, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.009802, allocations: 15.98 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.009805, allocations: 4.031 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.009815, allocations: 4 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009817, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009818, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.009986, allocations: 243.4 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.009999, allocations: 7.953 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.01001, allocations: 0 / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.01008, allocations: 4 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.01011, allocations: 11.92 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.01012, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.903e-05/0.01022, allocations: 167.9 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01022, allocations: 4 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01051, allocations: 19.94 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.01175, allocations: 435.9 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.01188, allocations: 43.61 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01189, allocations: 0 / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.01193, allocations: 35.61 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.01226, allocations: 18.25 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.01268, allocations: 234.3 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.265e-05/0.01273, allocations: 63.34 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.546e-05/0.01278, allocations: 17.02 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.01282, allocations: 16.5 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01282, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003906/0.01672, allocations: 1.378 MB / 384.6 MB, free: 12.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1408724109642208]