Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001858/0.001858, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002392/0.002392, allocations: 161.7 kB / 24.27 MB, free: 172 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.729/1.729, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.358/0.358, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.282e-05, allocations: 6.25 kB / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003742/0.003775, allocations: 1.879 MB / 377.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.006221, allocations: 1.076 MB / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.006356, allocations: 0 / 378.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004898/0.006846, allocations: 163.3 kB / 378.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005926/0.007438, allocations: 183.2 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.008041, allocations: 115.6 kB / 378.8 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.008488, allocations: 255.2 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.008628, allocations: 21.89 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.008931, allocations: 139.6 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.009164, allocations: 127.7 kB / 379.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.009195, allocations: 8 kB / 379.3 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.00936, allocations: 67.86 kB / 379.4 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.009467, allocations: 59.77 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.009557, allocations: 43.78 kB / 379.5 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.009917, allocations: 219.2 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.00992, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009921, allocations: 0 / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.009926, allocations: 0 / 379.7 MB, free: 0.5234 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008131/0.01074, allocations: 480.5 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.01078, allocations: 12.03 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.01089, allocations: 35.61 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.01131, allocations: 225.7 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.01132, allocations: 4.375 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.01136, allocations: 8.375 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.01164, allocations: 109 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.01166, allocations: 4 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.01168, allocations: 3.984 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.01168, allocations: 4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.01184, allocations: 59.83 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/0.01252, allocations: 400.5 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.01297, allocations: 121.2 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.0131, allocations: 41.83 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.01312, allocations: 4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.01341, allocations: 124.9 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.01341, allocations: 0 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001553/0.01497, allocations: 0.5172 MB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.01504, allocations: 81.05 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.01554, allocations: 388.5 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.01558, allocations: 33.7 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.01571, allocations: 144.6 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.0158, allocations: 75.42 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.01587, allocations: 45.7 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.01608, allocations: 346.7 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.01622, allocations: 55.97 kB / 383 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.0164, allocations: 91.41 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.01672, allocations: 159.6 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01673, allocations: 4 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004831/0.01721, allocations: 257.2 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01723, allocations: 11.94 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01723, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.01726, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.01741, allocations: 43.92 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.01742, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.833e-05/0.01751, allocations: 11.98 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01753, allocations: 4 kB / 383.5 MB, free: 12.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001814/0.01771, allocations: 161.7 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.01778, allocations: 43.83 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006053/0.01838, allocations: 267.4 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.01839, allocations: 4 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.0184, allocations: 0 / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.0184, allocations: 3.984 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01948, allocations: 0.6683 MB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01948, allocations: 0 / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.01959, allocations: 36.11 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01959, allocations: 4 kB / 384.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.01962, allocations: 15.92 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01962, allocations: 4.172 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.01962, allocations: 4 kB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006488/0.02027, allocations: 448.6 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.02032, allocations: 23.8 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.02036, allocations: 11.98 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.02051, allocations: 8 kB / 385.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.02058, allocations: 19.97 kB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.02061, allocations: 15.98 kB / 385.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003271/0.02093, allocations: 283 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02093, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.02131, allocations: 55.88 kB / 385.6 MB, free: 10.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002806/0.02412, allocations: 0.5542 MB / 386.1 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003882/0.02451, allocations: 155.7 kB / 386.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02451, allocations: 4.125 kB / 386.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.0247, allocations: 83.83 kB / 386.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.02527, allocations: 68.91 kB / 386.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/0.02622, allocations: 0.5138 MB / 386.9 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.02642, allocations: 161.4 kB / 387.1 MB, free: 8.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.02653, allocations: 33.92 kB / 387.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.02661, allocations: 40.48 kB / 387.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.02661, allocations: 0 / 387.2 MB, free: 8.879 MB / 362.7 MB Notification: Performance of Templates: time 0.008158/0.03477, allocations: 3.323 MB / 390.5 MB, free: 5.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.043755150982179]