Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001872/0.001872, 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.002004/0.002004, 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.563/1.563, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3712/0.3712, allocations: 34.27 MB / 295.3 MB, free: 0.6875 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.498e-05/3.733e-05, allocations: 2.312 kB / 377.4 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.005623/0.005661, allocations: 1.739 MB / 379.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.008646, allocations: 1.017 MB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.008731, allocations: 0 / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.009106, allocations: 35.67 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000523/0.009629, allocations: 91.61 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.009993, allocations: 91.52 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.01031, allocations: 115.6 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.01044, allocations: 7.938 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.01063, allocations: 63.77 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.01078, allocations: 35.89 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.01081, allocations: 4 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.01114, allocations: 99.88 kB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.01123, allocations: 23.91 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.0113, allocations: 19.92 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.01184, allocations: 191.3 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01184, allocations: 4 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01184, allocations: 0 / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.01185, allocations: 4 kB / 380.9 MB, free: 15.32 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.0009423/0.01279, allocations: 455.4 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.01284, allocations: 8.031 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.01293, allocations: 20.88 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.0133, allocations: 154.8 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.01333, allocations: 8.375 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.01336, allocations: 4.328 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.01364, allocations: 99.31 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.01366, allocations: 7.938 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.01368, allocations: 0 / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.01368, allocations: 4 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.01379, allocations: 15.98 kB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.01436, allocations: 283.8 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.01466, allocations: 63.09 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.01477, allocations: 27.8 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01479, allocations: 3.938 kB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.01503, allocations: 80.98 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.01503, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009381/0.01597, allocations: 201.4 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.01607, allocations: 77.11 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.01643, allocations: 241.7 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.01647, allocations: 29.7 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01661, allocations: 142.9 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.01667, allocations: 35.8 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.01677, allocations: 35.36 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/0.01714, allocations: 0.504 MB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01725, allocations: 16 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.01744, allocations: 92.67 kB / 383.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01766, allocations: 75.34 kB / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01767, allocations: 0 / 383.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003818/0.01805, allocations: 125.5 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.01807, allocations: 4 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01807, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.01809, allocations: 0 / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.01826, allocations: 27.98 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.01826, allocations: 0 / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.279e-05/0.01836, allocations: 4 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01837, allocations: 4 kB / 383.7 MB, free: 12.27 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 (13): * Single equations (assignments): 13 * 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.0002185/0.01859, allocations: 188.4 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.01865, allocations: 15.91 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.01908, allocations: 122.4 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01909, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.01909, allocations: 4 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0191, allocations: 0 / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.02002, allocations: 428.9 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.02003, allocations: 4 kB / 384.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.217e-05/0.02011, allocations: 11.98 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.02012, allocations: 8.031 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.02014, allocations: 4 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.02014, allocations: 0 / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.02015, allocations: 4 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.02094, allocations: 283.3 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.02097, allocations: 7.953 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.02102, allocations: 8 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.02116, allocations: 0 / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.02121, allocations: 11.92 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.02124, allocations: 8 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.02148, allocations: 182.2 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02148, allocations: 0 / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005715/0.02206, allocations: 47.88 kB / 385 MB, free: 10.87 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 (11): * Single equations (assignments): 9 * 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.005543/0.0276, allocations: 0.6059 MB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004088/0.02801, allocations: 79.59 kB / 385.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.02801, allocations: 0 / 385.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.02818, allocations: 47.61 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.02881, allocations: 43.23 kB / 385.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.02962, allocations: 226 kB / 386 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.02977, allocations: 85.44 kB / 386.1 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.02989, allocations: 24.75 kB / 386.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.02999, allocations: 32.42 kB / 386.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03, allocations: 0 / 386.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of Templates: time 0.01063/0.04062, allocations: 2.666 MB / 388.8 MB, free: 7.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.9857131079770625]