Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001002/0.001002, allocations: 87.67 kB / 21.19 MB, free: 3.398 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.002178/0.002178, allocations: 164.9 kB / 24.55 MB, free: 36 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 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2846/0.2846, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test32,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.123e-05, allocations: 6.312 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002305/0.002336, allocations: 1.653 MB / 379.7 MB, free: 0.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.003121, allocations: 0.5492 MB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.003182, allocations: 0 / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003004/0.003482, allocations: 107.7 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.003795, allocations: 119.5 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.00411, allocations: 119.5 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.004306, allocations: 91.73 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004443, allocations: 15.98 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.004551, allocations: 47.88 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.004674, allocations: 67.86 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.004698, allocations: 7.938 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.004799, allocations: 43.92 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.004854, allocations: 31.91 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.004885, allocations: 15.94 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.00507, allocations: 99.59 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.005074, allocations: 0 / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.005076, allocations: 0 / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.005082, allocations: 0 / 381 MB, free: 15.65 MB / 362.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.0005315/0.005614, allocations: 455.8 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.005651, allocations: 12.03 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.005703, allocations: 16.84 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005849, allocations: 149.2 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.00586, allocations: 8.312 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.00588, allocations: 8.359 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.006008, allocations: 58.95 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.006018, allocations: 192 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.006029, allocations: 4.125 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.006039, allocations: 0 / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.006074, allocations: 19.92 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.006491, allocations: 303.7 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.17e-05/0.006562, allocations: 47.03 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.006586, allocations: 15.62 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.006606, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.006628, allocations: 41.33 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006629, allocations: 0 / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.007215, allocations: 181.3 kB / 382.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.007247, allocations: 51.41 kB / 382.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.007399, allocations: 263.1 kB / 382.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.007411, allocations: 29.7 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.007472, allocations: 158.9 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.007497, allocations: 27.75 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.007532, allocations: 31.36 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002493/0.007782, allocations: 0.504 MB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.007805, allocations: 8 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.888e-05/0.007824, allocations: 11.98 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.007881, allocations: 35.62 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007882, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.442e-05/0.007977, allocations: 81.66 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.00799, allocations: 4 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.007997, allocations: 7.984 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.008012, allocations: 4 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.008092, allocations: 16 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008098, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.00812, allocations: 7.984 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.008125, allocations: 3.938 kB / 383.5 MB, free: 12.91 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 7.126e-05/0.008196, allocations: 172.5 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.008217, allocations: 15.91 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.008359, allocations: 83.45 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.008363, allocations: 3.984 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.008366, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008369, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.008665, allocations: 393.1 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.008668, allocations: 3.984 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.008709, allocations: 12 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.008712, allocations: 3.938 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.008721, allocations: 4 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.008723, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008724, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.008852, allocations: 235.5 kB / 384.4 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008863, allocations: 15.91 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008878, allocations: 4 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.00891, allocations: 4.031 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.008945, allocations: 11.92 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.008949, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.009033, allocations: 183.1 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009033, allocations: 3.938 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002455/0.009279, allocations: 23.94 kB / 384.7 MB, free: 11.68 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.0009273/0.01021, allocations: 438.1 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.01033, allocations: 47.64 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01033, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.106e-05/0.01036, allocations: 27.62 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01058, allocations: 23.92 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.01097, allocations: 257.4 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.369e-05/0.01101, allocations: 75.33 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.01106, allocations: 21.02 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.01109, allocations: 20.55 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01109, allocations: 3.938 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of Templates: time 0.003856/0.01495, allocations: 1.523 MB / 387.1 MB, free: 9.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.1561837499029934]