Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.00193/0.00193, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002007/0.002007, allocations: 165.3 kB / 24.27 MB, free: 160 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.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3531/0.3531, allocations: 32.81 MB / 293.9 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.699e-05, allocations: 6.25 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00382/0.003857, allocations: 1.93 MB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.00613, allocations: 1.021 MB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.006248, allocations: 8 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.006642, allocations: 47.58 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.007026, allocations: 103.4 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.00729, allocations: 99.58 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.007576, allocations: 147.5 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.007703, allocations: 21.78 kB / 378.7 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.007858, allocations: 71.75 kB / 378.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.007981, allocations: 43.83 kB / 378.8 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.008011, allocations: 8 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.008125, allocations: 47.92 kB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.008206, allocations: 31.84 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.008274, allocations: 27.92 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000336/0.00861, allocations: 155.4 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.008615, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.008616, allocations: 0 / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.008622, allocations: 0 / 379.1 MB, free: 1.145 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008708/0.009493, allocations: 0.5048 MB / 379.6 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.009541, allocations: 16.02 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.802e-05/0.009619, allocations: 24.8 kB / 379.6 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.009937, allocations: 185 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.009953, allocations: 4.375 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.009982, allocations: 12.38 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.01026, allocations: 131 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.01027, allocations: 3.938 kB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.01029, allocations: 4 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.01029, allocations: 0 / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.01044, allocations: 47.91 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008114/0.01126, allocations: 0.6106 MB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.0116, allocations: 83.16 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.01169, allocations: 35.67 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.01171, allocations: 0 / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.01193, allocations: 114.7 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.01193, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004225/0.01236, allocations: 133.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.01241, allocations: 55.41 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.0127, allocations: 275.1 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.01272, allocations: 25.7 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.01289, allocations: 170.8 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.01294, allocations: 31.78 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.01301, allocations: 39.33 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004987/0.01351, allocations: 0.504 MB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.01359, allocations: 23.98 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.01371, allocations: 78.41 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.01392, allocations: 110.3 kB / 382.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01392, allocations: 3.938 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.01421, allocations: 129.5 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01422, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01423, allocations: 4 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01425, allocations: 0 / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01435, allocations: 27.98 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.01436, allocations: 8.062 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.01443, allocations: 11.92 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.01444, allocations: 7.984 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001574/0.0146, allocations: 172.5 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.01464, allocations: 15.91 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.01494, allocations: 131 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01494, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01495, allocations: 0 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01495, allocations: 4 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.01517, allocations: 176.5 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01518, allocations: 4 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.01526, allocations: 12 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.01526, allocations: 4 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01527, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01527, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01527, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.01568, allocations: 192.7 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01571, allocations: 15.84 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.01574, allocations: 8 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.01581, allocations: 12.02 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.01586, allocations: 3.984 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.01588, allocations: 4 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.01606, allocations: 187.1 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01606, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01629, allocations: 27.94 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002868/0.01916, allocations: 444.9 kB / 383.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.01944, allocations: 87.7 kB / 383.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01944, allocations: 4.062 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.01955, allocations: 39.67 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.0199, allocations: 54.84 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006143/0.02052, allocations: 265.8 kB / 384.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.02063, allocations: 98.11 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.94e-05/0.02069, allocations: 21.47 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.02074, allocations: 16.5 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02074, allocations: 4 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of Templates: time 0.00619/0.02693, allocations: 2.062 MB / 386.5 MB, free: 9.52 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.108546801027842]