Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.0008633/0.0008633, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.0009907/0.0009907, allocations: 167.4 kB / 25.61 MB, free: 8.496 MB / 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.871/0.871, allocations: 177.1 MB / 206 MB, free: 4.477 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.131/0.131, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.097e-05, allocations: 6.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001936/0.001947, allocations: 1.639 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.005604, allocations: 0.5297 MB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.005653, allocations: 8 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.005873, allocations: 83.69 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.006103, allocations: 119.5 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.006294, allocations: 95.62 kB / 381.8 MB, free: 20.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.006418, allocations: 91.75 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.352e-05/0.006491, allocations: 11.98 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.392e-05/0.006545, allocations: 39.91 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.19e-05/0.006617, allocations: 55.86 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.006628, allocations: 4 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.0067, allocations: 51.84 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.006735, allocations: 19.92 kB / 382 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.006756, allocations: 15.94 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.006882, allocations: 95.59 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.006884, allocations: 0 / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006884, allocations: 0 / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.006888, allocations: 4 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002778/0.007165, allocations: 455.8 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.007193, allocations: 8.031 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.007224, allocations: 16.83 kB / 382.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.00732, allocations: 144.4 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.007329, allocations: 8.375 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.007344, allocations: 384 / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.007416, allocations: 62.92 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007423, allocations: 4.188 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.00743, allocations: 4.125 kB / 382.8 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.007434, allocations: 4 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.007457, allocations: 11.97 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.007637, allocations: 272.3 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.007683, allocations: 35.05 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.007698, allocations: 15.77 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.00771, allocations: 0 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.007723, allocations: 41.33 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.11e-07/0.007723, allocations: 7.875 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.00339/0.01111, allocations: 153.4 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.271e-05/0.01113, allocations: 55.41 kB / 383.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.01122, allocations: 242.3 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.01123, allocations: 25.7 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.01126, allocations: 162.8 kB / 383.8 MB, free: 18.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.01128, allocations: 27.73 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.01131, allocations: 31.36 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.334e-05/0.01136, allocations: 0.5001 MB / 384.4 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.01137, allocations: 4 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.01139, allocations: 11.98 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.55e-05/0.01142, allocations: 31.67 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01142, allocations: 7.938 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.238e-05/0.0115, allocations: 73.58 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.0115, allocations: 4 kB / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.01151, allocations: 0 / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.01151, allocations: 0 / 384.5 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.624e-05/0.01157, allocations: 19.98 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.01157, allocations: 0 / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.0116, allocations: 0 / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.0116, allocations: 11.98 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.001e-05/0.01164, allocations: 164.5 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.01167, allocations: 15.91 kB / 384.7 MB, free: 17.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.942e-05/0.01177, allocations: 83.44 kB / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.01177, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01177, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01178, allocations: 0 / 384.8 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.012, allocations: 353.5 kB / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.012, allocations: 0 / 385.2 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.01204, allocations: 19.98 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01204, allocations: 432 / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.01205, allocations: 7.969 kB / 385.2 MB, free: 17.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01205, allocations: 3.938 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01205, allocations: 4 kB / 385.2 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.274e-05/0.01213, allocations: 231.5 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-06/0.01214, allocations: 11.94 kB / 385.4 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.01216, allocations: 7.984 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.255e-05/0.01221, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.01223, allocations: 11.98 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.01224, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.01228, allocations: 167.1 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01228, allocations: 0 / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002308/0.01251, allocations: 31.92 kB / 385.7 MB, free: 16.75 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009338/0.01345, allocations: 433.6 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.561e-05/0.01352, allocations: 43.66 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01353, allocations: 0 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.548e-05/0.01355, allocations: 27.61 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.01681, allocations: 18.83 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.01706, allocations: 236.1 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.01709, allocations: 79.19 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.49e-05/0.01713, allocations: 12.72 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.01717, allocations: 82.19 kB / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01717, allocations: 0 / 386.6 MB, free: 15.94 MB / 314.7 MB Notification: Performance of Templates: time 0.003426/0.0206, allocations: 1.542 MB / 388.1 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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: 2.8997037108056247]