Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001457/0.001457, 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.002271/0.002271, 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.543/1.543, 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.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.4511/0.4511, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.519e-05, allocations: 2.312 kB / 377.4 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.004868/0.004904, allocations: 1.715 MB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.008125, allocations: 0.9819 MB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.008275, allocations: 4 kB / 380.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004385/0.008713, allocations: 39.66 kB / 380.1 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005575/0.009271, allocations: 91.55 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.009721, allocations: 83.59 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.01004, allocations: 111.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.01016, allocations: 8 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.01033, allocations: 51.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.01047, allocations: 31.84 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.0105, allocations: 4 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.01067, allocations: 43.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.01075, allocations: 23.92 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.01082, allocations: 15.92 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.01117, allocations: 111.6 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.01118, allocations: 8 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.01118, allocations: 4 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.01119, allocations: 0 / 380.7 MB, free: 15.54 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.0007986/0.01198, allocations: 333.6 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.01204, allocations: 8.031 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.899e-05/0.01213, allocations: 12.84 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.01257, allocations: 145.7 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.01259, allocations: 4.375 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.01262, allocations: 384 / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.01284, allocations: 58.23 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01286, allocations: 3.938 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.01287, allocations: 4 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.01288, allocations: 0 / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01299, allocations: 27.92 kB / 381.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.01359, allocations: 232.5 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.01385, allocations: 54.67 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.01395, allocations: 24.8 kB / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.01397, allocations: 0 / 381.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.01423, allocations: 75.31 kB / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01423, allocations: 0 / 381.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009344/0.01517, allocations: 189.5 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.198e-05/0.01525, allocations: 51.41 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.01557, allocations: 167 kB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.01561, allocations: 33.7 kB / 382.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.01574, allocations: 100.1 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.0158, allocations: 27.78 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.01588, allocations: 21.72 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002919/0.01617, allocations: 318.8 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-05/0.01627, allocations: 23.98 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01638, allocations: 41.7 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.0166, allocations: 73.64 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.0166, allocations: 0 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003193/0.01692, allocations: 109.5 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.01694, allocations: 6.188 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.01695, allocations: 4 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.01697, allocations: 0 / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01711, allocations: 15.98 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01712, allocations: 0 / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.01719, allocations: 11.97 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.01721, allocations: 4 kB / 382.8 MB, free: 13.21 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.0001699/0.01738, allocations: 125.8 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.01743, allocations: 11.95 kB / 383 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.0178, allocations: 118.4 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.0178, allocations: 0 / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01781, allocations: 4 kB / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01781, allocations: 0 / 383.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.01853, allocations: 350.9 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01853, allocations: 0 / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.0186, allocations: 11.94 kB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.0186, allocations: 0 / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.01862, allocations: 8 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01863, allocations: 3.984 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01863, allocations: 0 / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.01904, allocations: 216.2 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.01907, allocations: 7.953 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.0191, allocations: 4 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.01923, allocations: 11.97 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.01929, allocations: 8.031 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.01931, allocations: 7.984 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.01951, allocations: 140 kB / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01951, allocations: 0 / 383.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004863/0.02, allocations: 23.94 kB / 383.9 MB, free: 12.11 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.003074/0.02308, allocations: 0.4921 MB / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.02336, allocations: 55.92 kB / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.02336, allocations: 0 / 384.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.02349, allocations: 32.08 kB / 384.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.02407, allocations: 40 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.02483, allocations: 213.9 kB / 384.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.02498, allocations: 89.56 kB / 384.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.681e-05/0.02506, allocations: 12.97 kB / 384.8 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.02512, allocations: 20.5 kB / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.02512, allocations: 0 / 384.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of Templates: time 0.006738/0.03186, allocations: 1.865 MB / 386.7 MB, free: 9.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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: 4.973984368960373]