Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001149/0.001149, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009429/0.0009429, allocations: 165 kB / 24.56 MB, free: 12 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.9768/0.9768, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2419/0.2419, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.505e-05, allocations: 6.25 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002001/0.002016, allocations: 1.774 MB / 377.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003502, allocations: 1.722 MB / 379.6 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.003557, allocations: 3.938 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.003767, allocations: 31.83 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.004032, allocations: 111.3 kB / 379.8 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.004177, allocations: 79.61 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.004306, allocations: 111.7 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.004364, allocations: 4 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.004432, allocations: 63.75 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.00451, allocations: 35.89 kB / 380 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.004525, allocations: 8 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.004647, allocations: 99.81 kB / 380.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.004683, allocations: 19.86 kB / 380.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.004713, allocations: 23.92 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.004902, allocations: 159.5 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004903, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004904, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.004907, allocations: 4 kB / 380.3 MB, free: 324 kB / 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.0006074/0.005514, allocations: 455.8 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.005541, allocations: 8.031 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.005579, allocations: 12.89 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.005748, allocations: 153 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.00576, allocations: 384 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.005774, allocations: 4.375 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.005893, allocations: 115.3 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005902, allocations: 3.953 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.005909, allocations: 3.984 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005914, allocations: 4 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.005941, allocations: 11.98 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.006167, allocations: 283.8 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.476e-05/0.006252, allocations: 55.11 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.006276, allocations: 15.67 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.006285, allocations: 4 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.00636, allocations: 65.05 kB / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.006361, allocations: 0 / 381.5 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003025/0.006663, allocations: 165.3 kB / 381.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.006698, allocations: 77.11 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.006871, allocations: 216.4 kB / 382 MB, free: 14.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006883, allocations: 29.7 kB / 382 MB, free: 14.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.006925, allocations: 142.9 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.006947, allocations: 27.78 kB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.006979, allocations: 39.25 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.007077, allocations: 0.4961 MB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.007098, allocations: 11.98 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.007143, allocations: 64.77 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.073e-05/0.007193, allocations: 55.39 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.007194, allocations: 0 / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.57e-05/0.00729, allocations: 93.53 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.007299, allocations: 8 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.007302, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.00731, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.541e-05/0.007365, allocations: 19.92 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00737, allocations: 4 kB / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.007396, allocations: 0 / 382.9 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.007402, allocations: 8.031 kB / 383 MB, free: 13.45 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 6.623e-05/0.007468, allocations: 168.5 kB / 383.1 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.007483, allocations: 11.95 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.007613, allocations: 102.5 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007614, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007617, allocations: 0 / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007621, allocations: 7.984 kB / 383.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.007986, allocations: 388.9 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007987, allocations: 0 / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.00801, allocations: 8.031 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008013, allocations: 11.98 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.00802, allocations: 4 kB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008021, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008022, allocations: 0 / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.008156, allocations: 255.4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.008168, allocations: 7.953 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.008185, allocations: 8 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.09e-05/0.008226, allocations: 3.984 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.239e-05/0.008248, allocations: 7.938 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.008258, allocations: 7.984 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.566e-05/0.008324, allocations: 169.9 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008324, allocations: 0 / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.008516, allocations: 51.81 kB / 384.1 MB, free: 12.18 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.0009634/0.00948, allocations: 0.551 MB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.009588, allocations: 47.61 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.00959, allocations: 0 / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.009627, allocations: 27.67 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.009828, allocations: 35.91 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.0101, allocations: 213.9 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.01013, allocations: 63.34 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.05e-05/0.01017, allocations: 29.25 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.0102, allocations: 16.5 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0102, allocations: 0 / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.004066/0.01427, allocations: 2.759 MB / 387.9 MB, free: 8.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.0124450102448463]