Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001125/0.001125, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001216/0.001216, allocations: 165 kB / 24.56 MB, free: 24 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 0.964/0.964, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2639/0.2639, allocations: 34.27 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.788e-05, allocations: 6.25 kB / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.005737/0.005765, allocations: 1.715 MB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.007129, allocations: 0.9936 MB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.007208, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003331/0.01054, allocations: 59.67 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.01091, allocations: 107.5 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.01112, allocations: 79.59 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.01131, allocations: 103.7 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.01135, allocations: 4.234 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.01145, allocations: 63.75 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.01154, allocations: 35.91 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.01155, allocations: 4 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.01164, allocations: 35.91 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.01168, allocations: 11.94 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.01172, allocations: 23.86 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.0119, allocations: 79.73 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.0119, allocations: 8 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01191, allocations: 3.984 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.01191, allocations: 4 kB / 381.4 MB, free: 15.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004776/0.01239, allocations: 427.9 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.01243, allocations: 12.03 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.01248, allocations: 8.891 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.01266, allocations: 152.4 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.01268, allocations: 384 / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.01269, allocations: 4.375 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.01281, allocations: 54.94 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.01282, allocations: 7.938 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.01283, allocations: 4 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.01284, allocations: 0 / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.391e-05/0.01287, allocations: 11.98 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.01303, allocations: 144.5 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.01316, allocations: 47.11 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.01345, allocations: 15.69 kB / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.01346, allocations: 0 / 382.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.01358, allocations: 65.05 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01358, allocations: 4 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002198/0.0138, allocations: 93.44 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.01384, allocations: 51.41 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.01398, allocations: 226.6 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.01399, allocations: 29.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.01405, allocations: 146.9 kB / 382.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.01408, allocations: 15.89 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.01412, allocations: 27.38 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.01425, allocations: 0.4884 MB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.01427, allocations: 12.25 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.01431, allocations: 31.36 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.01437, allocations: 43.31 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01437, allocations: 0 / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001065/0.01448, allocations: 73.58 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01449, allocations: 6.344 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.0145, allocations: 3.938 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01451, allocations: 4 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.01458, allocations: 11.98 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.01459, allocations: 32 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.01462, allocations: 11.95 kB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.01463, allocations: 0 / 383.6 MB, free: 12.79 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 (7): * Single equations (assignments): 7 * 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 8.451e-05/0.01471, allocations: 160.6 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.01473, allocations: 11.94 kB / 383.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.01487, allocations: 94.84 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01487, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.01487, allocations: 3.984 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01488, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.01498, allocations: 144.6 kB / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01498, allocations: 0 / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.015, allocations: 8 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.015, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01501, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01502, allocations: 3.938 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.01502, allocations: 4.109 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.01514, allocations: 124.3 kB / 384.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.01515, allocations: 7.891 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.01517, allocations: 4 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.0152, allocations: 11.86 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.01523, allocations: 4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01524, allocations: 4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.01533, allocations: 171.8 kB / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01533, allocations: 0 / 384.4 MB, free: 11.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01553, allocations: 12 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007994/0.01633, allocations: 382.8 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01644, allocations: 39.61 kB / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01644, allocations: 0 / 384.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.01647, allocations: 23.67 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.01665, allocations: 23.98 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.01695, allocations: 190.2 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.01698, allocations: 63.34 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.01701, allocations: 20.53 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.01704, allocations: 12.5 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01704, allocations: 4 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.003411/0.02045, allocations: 1.767 MB / 386.9 MB, free: 9.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2803902812302113]