Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001197/0.001197, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001538/0.001538, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.075/1.075, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.3147/0.3147, allocations: 34.26 MB / 296 MB, free: 0.7773 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.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.195e-05/3.399e-05, allocations: 6.312 kB / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003801/0.003835, allocations: 1.772 MB / 379.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.005668, allocations: 1.001 MB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.005778, allocations: 4 kB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.006178, allocations: 51.7 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.006614, allocations: 91.53 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.006899, allocations: 87.53 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.007125, allocations: 111.7 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.007236, allocations: 4 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.007361, allocations: 55.78 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.87e-05/0.00745, allocations: 31.89 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.007469, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.007581, allocations: 43.92 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.007655, allocations: 23.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.007716, allocations: 23.86 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.007981, allocations: 103.6 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.007984, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007986, allocations: 4 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.007992, allocations: 0 / 381.5 MB, free: 15.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006207/0.008613, allocations: 467.6 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.008664, allocations: 12.03 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.008734, allocations: 16.84 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.008985, allocations: 161.2 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.009009, allocations: 384 / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.009032, allocations: 4.375 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.009213, allocations: 58.94 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.009228, allocations: 3.938 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.009243, allocations: 4 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.009253, allocations: 0 / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.009302, allocations: 15.92 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.009706, allocations: 291.8 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.009854, allocations: 59.16 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.009901, allocations: 23.61 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.009915, allocations: 0 / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.01006, allocations: 72.98 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.01006, allocations: 0 / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005559/0.01062, allocations: 161.3 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.01068, allocations: 51.41 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01095, allocations: 263.1 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.01098, allocations: 33.7 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.01113, allocations: 158.9 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.01118, allocations: 23.8 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.01124, allocations: 31.36 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.01146, allocations: 0.4962 MB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.01151, allocations: 11.98 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.287e-05/0.01157, allocations: 31.38 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01168, allocations: 63.28 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01168, allocations: 0 / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.01189, allocations: 97.53 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.01192, allocations: 8 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.01193, allocations: 0 / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.01195, allocations: 3.938 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.01209, allocations: 15.98 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.0121, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.01215, allocations: 0 / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.01216, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001537/0.01232, allocations: 164.5 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.01236, allocations: 27.83 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.01264, allocations: 99.17 kB / 384.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01264, allocations: 4 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.01265, allocations: 3.984 kB / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01266, allocations: 0 / 384.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.01321, allocations: 400.9 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.01321, allocations: 0 / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.01327, allocations: 15.92 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.01328, allocations: 4 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.01329, allocations: 0 / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.01329, allocations: 0 / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0133, allocations: 4.031 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.01357, allocations: 263.4 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.783e-05/0.0136, allocations: 15.91 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.01363, allocations: 0 / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.01371, allocations: 8.359 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.01376, allocations: 0 / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.01379, allocations: 11.98 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001394/0.01393, allocations: 179.1 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01393, allocations: 0 / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.01428, allocations: 31.92 kB / 385.3 MB, free: 11.36 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: 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 (9): * Single equations (assignments): 7 * 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.001347/0.01563, allocations: 445.1 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.01586, allocations: 47.61 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01586, allocations: 3.938 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.01592, allocations: 35.61 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.01625, allocations: 34.55 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.01687, allocations: 237.6 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.01694, allocations: 79.39 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.017, allocations: 12.97 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.01705, allocations: 16.5 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.944e-06/0.01706, allocations: 0 / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005546/0.0226, allocations: 1.888 MB / 388.1 MB, free: 8.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.428442621137947]