Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.00196/0.00196, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001999/0.001999, allocations: 165.3 kB / 24.27 MB, free: 156 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3736/0.3736, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 375.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.928e-05, allocations: 2.312 kB / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003582/0.003611, allocations: 1.735 MB / 377.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.005609, allocations: 0.9966 MB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.072e-05/0.005679, allocations: 0 / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.005991, allocations: 43.7 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.006329, allocations: 95.48 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.006547, allocations: 75.66 kB / 378.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.006765, allocations: 111.6 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.006858, allocations: 4 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.006994, allocations: 51.84 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.007087, allocations: 31.89 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.007116, allocations: 8 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.007226, allocations: 47.86 kB / 378.5 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.007301, allocations: 23.92 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.007353, allocations: 19.92 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.007603, allocations: 111.6 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.007607, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.007609, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.007614, allocations: 0 / 378.7 MB, free: 1.508 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007231/0.008337, allocations: 447.6 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.008375, allocations: 8.031 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.008441, allocations: 12.89 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.008707, allocations: 161 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.00872, allocations: 384 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.008747, allocations: 8.359 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.008909, allocations: 54.23 kB / 379.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.008925, allocations: 3.938 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.00894, allocations: 3.984 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.008945, allocations: 0 / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.607e-05/0.009021, allocations: 19.98 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.009476, allocations: 291.8 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.009662, allocations: 63.16 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.009724, allocations: 27.62 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.009742, allocations: 4 kB / 379.8 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.009908, allocations: 68.98 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.009909, allocations: 0 / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005821/0.01049, allocations: 185.3 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.01056, allocations: 51.41 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.01082, allocations: 250.5 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.01085, allocations: 25.7 kB / 380.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01096, allocations: 158.8 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.011, allocations: 23.86 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.01106, allocations: 35.36 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.01134, allocations: 0.5001 MB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.0114, allocations: 16 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.01147, allocations: 43.36 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.01161, allocations: 71.23 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01161, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.01182, allocations: 97.62 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01184, allocations: 4 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01185, allocations: 4 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01186, allocations: 4.031 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01196, allocations: 24.3 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.01197, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.01202, allocations: 11.95 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.01203, allocations: 4 kB / 381.3 MB, free: 14.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.0001522/0.01218, allocations: 172.4 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.01222, allocations: 15.95 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.01249, allocations: 119.2 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01249, allocations: 0 / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01249, allocations: 0 / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.0125, allocations: 4 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.01308, allocations: 416.9 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01308, allocations: 0 / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.01312, allocations: 11.98 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01313, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01314, allocations: 4 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01314, allocations: 0 / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01314, allocations: 3.938 kB / 382.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.01346, allocations: 271.4 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.01348, allocations: 11.91 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.01351, allocations: 8.031 kB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.01358, allocations: 11.92 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.01363, allocations: 3.984 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.01365, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.01381, allocations: 179.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01381, allocations: 0 / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01406, allocations: 20 kB / 382.6 MB, free: 13.33 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.003329/0.01739, allocations: 488.2 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.01763, allocations: 71.53 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01764, allocations: 4 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.01774, allocations: 39.61 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.01812, allocations: 34.45 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.01868, allocations: 226.4 kB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.0188, allocations: 96.3 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.01885, allocations: 21.27 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.529e-05/0.0189, allocations: 20.5 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0189, allocations: 3.938 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Templates: time 0.006125/0.02502, allocations: 1.871 MB / 385.4 MB, free: 10.65 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.00316640897654]