Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001968/0.001968, allocations: 95.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.002097/0.002097, allocations: 165.3 kB / 24.27 MB, free: 152 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.712/1.712, allocations: 177.1 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.3317/0.3317, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.606e-05, allocations: 6.25 kB / 375.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003553/0.003589, allocations: 1.739 MB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.00676, allocations: 1.695 MB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.754e-05/0.006837, allocations: 0 / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.007187, allocations: 39.7 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.007605, allocations: 111.4 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.00785, allocations: 83.59 kB / 379 MB, free: 1.211 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.008076, allocations: 111.6 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.008171, allocations: 4 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.008303, allocations: 59.83 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.008456, allocations: 35.89 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.008482, allocations: 4 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.008703, allocations: 103.8 kB / 379.3 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.008772, allocations: 23.86 kB / 379.3 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.257e-05/0.008824, allocations: 19.92 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.009166, allocations: 183.4 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.00917, allocations: 0 / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.009171, allocations: 0 / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.009176, allocations: 0 / 379.5 MB, free: 0.6758 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.0007399/0.009916, allocations: 459.4 kB / 380 MB, free: 196 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.009957, allocations: 8.031 kB / 380 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.01002, allocations: 16.88 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.01032, allocations: 149.1 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.01033, allocations: 384 / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.01035, allocations: 4.375 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.01056, allocations: 106.7 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.01057, allocations: 0 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.01058, allocations: 0 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.01058, allocations: 0 / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.01067, allocations: 23.92 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.01114, allocations: 299.6 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.01134, allocations: 63.16 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.0114, allocations: 19.69 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.01142, allocations: 3.938 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.01161, allocations: 73.05 kB / 380.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01161, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006209/0.01223, allocations: 177.3 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.0123, allocations: 85.11 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01255, allocations: 224.7 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.01258, allocations: 33.7 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01269, allocations: 150.8 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.01273, allocations: 27.78 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.01279, allocations: 27.38 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002807/0.01307, allocations: 0.504 MB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.01313, allocations: 23.92 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.01324, allocations: 80.75 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.01337, allocations: 67.31 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01337, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002249/0.01359, allocations: 109.5 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01361, allocations: 8 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01362, allocations: 384 / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.01363, allocations: 0 / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.01373, allocations: 12 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.01374, allocations: 8 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/0.01379, allocations: 4.047 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.0138, allocations: 8 kB / 382.3 MB, free: 13.69 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.0001469/0.01395, allocations: 175.8 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.01398, allocations: 11.95 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.01424, allocations: 114.6 kB / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01424, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.01425, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01425, allocations: 0 / 382.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.01482, allocations: 413 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.01483, allocations: 4 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.01487, allocations: 15.97 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01487, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01489, allocations: 3.984 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01489, allocations: 4 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01489, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.01521, allocations: 271.4 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.01523, allocations: 7.953 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.01526, allocations: 8 kB / 383.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.01535, allocations: 3.984 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.01539, allocations: 7.938 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.01542, allocations: 7.984 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.01557, allocations: 181.7 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01557, allocations: 4 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.01589, allocations: 43.81 kB / 383.5 MB, free: 12.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.003735/0.01962, allocations: 0.5894 MB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.01997, allocations: 71.61 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.01998, allocations: 0 / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.02008, allocations: 39.61 kB / 384.2 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.02056, allocations: 43.84 kB / 384.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.02128, allocations: 217.8 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.0214, allocations: 85.44 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.861e-05/0.02147, allocations: 13.11 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.02154, allocations: 28.42 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02154, allocations: 0 / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.007923/0.02946, allocations: 2.537 MB / 387.1 MB, free: 8.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.32261287397705]