Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001375/0.001375, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001565/0.001565, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9204/0.9204, allocations: 177.2 MB / 205 MB, free: 5.305 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.2575/0.2575, allocations: 32.8 MB / 294.3 MB, free: 1.234 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.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.191e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002262/0.002284, allocations: 1.669 MB / 377.7 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.003075, allocations: 0.5415 MB / 378.3 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.003126, allocations: 0 / 378.3 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.003391, allocations: 75.7 kB / 378.3 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.003637, allocations: 107.5 kB / 378.4 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.003843, allocations: 119.6 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.003978, allocations: 87.75 kB / 378.6 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.004073, allocations: 11.98 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.004133, allocations: 43.89 kB / 378.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.424e-05/0.004228, allocations: 55.86 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.004242, allocations: 4 kB / 378.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.004312, allocations: 47.86 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.004355, allocations: 23.92 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.004382, allocations: 15.92 kB / 378.8 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.00452, allocations: 99.59 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004523, allocations: 0 / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004523, allocations: 0 / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004527, allocations: 0 / 378.9 MB, free: 1.762 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.0003569/0.004884, allocations: 439.9 kB / 379.4 MB, free: 1.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.004914, allocations: 8.031 kB / 379.4 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.004952, allocations: 16.84 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.005073, allocations: 153 kB / 379.5 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.005082, allocations: 4.375 kB / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.005098, allocations: 384 / 379.5 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.005205, allocations: 62.95 kB / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.005213, allocations: 192 / 379.6 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.005223, allocations: 4.125 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005228, allocations: 0 / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.005259, allocations: 19.92 kB / 379.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002654/0.005525, allocations: 295.7 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.811e-05/0.005583, allocations: 43.05 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.005605, allocations: 15.62 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.00562, allocations: 0 / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.005639, allocations: 41.39 kB / 380 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.00564, allocations: 4 kB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004597/0.0061, allocations: 169.4 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.006126, allocations: 59.38 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.006247, allocations: 234.4 kB / 380.5 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.006257, allocations: 25.7 kB / 380.5 MB, free: 24 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/0.006321, allocations: 154.9 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.006343, allocations: 31.73 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.006371, allocations: 23.38 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.006482, allocations: 0.5 MB / 381.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.0065, allocations: 12 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.006518, allocations: 11.98 kB / 381.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.006561, allocations: 35.91 kB / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.006562, allocations: 0 / 381.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.277e-05/0.006645, allocations: 81.53 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006655, allocations: 4 kB / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.006659, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.006668, allocations: 0 / 381.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.006732, allocations: 15.98 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.006736, allocations: 4 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.006753, allocations: 4 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006762, allocations: 11.98 kB / 381.4 MB, free: 15.11 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 5.729e-05/0.006819, allocations: 156.5 kB / 381.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.00684, allocations: 24.27 kB / 381.5 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.006956, allocations: 87.12 kB / 381.6 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.006959, allocations: 4 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.006962, allocations: 3.938 kB / 381.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.006967, allocations: 7.969 kB / 381.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.007234, allocations: 373 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.007235, allocations: 4.031 kB / 382 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.00727, allocations: 15.98 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007271, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.00728, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007281, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.007283, allocations: 7.938 kB / 382 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.007392, allocations: 235.5 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.007402, allocations: 11.94 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007413, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.239e-05/0.007446, allocations: 4 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.007472, allocations: 11.92 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.007476, allocations: 4 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.007544, allocations: 167.2 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007544, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001566/0.0077, allocations: 23.94 kB / 382.5 MB, free: 13.89 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.0008229/0.008523, allocations: 444 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.008619, allocations: 43.66 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00862, allocations: 0 / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.008654, allocations: 31.62 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.008847, allocations: 23.94 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.009174, allocations: 237.8 kB / 383.3 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.009215, allocations: 67.33 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.009253, allocations: 21.02 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.00928, allocations: 16.5 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.00928, allocations: 4.062 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of Templates: time 0.003062/0.01234, allocations: 1.513 MB / 384.9 MB, free: 11.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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: 2.9540154519490898]