Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.000921/0.000921, allocations: 81.97 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.001004/0.001004, allocations: 163.3 kB / 25.61 MB, free: 8.895 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.8759/0.8759, allocations: 177.2 MB / 206.1 MB, free: 4.496 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.1305/0.1305, allocations: 34.25 MB / 296.9 MB, free: 13.95 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.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.503e-05, allocations: 13.62 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.0017/0.001715, allocations: 1.642 MB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005683/0.002283, allocations: 0.5297 MB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.002333, allocations: 4 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.002551, allocations: 115.6 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.002749, allocations: 123.5 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.00293, allocations: 107.7 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.003048, allocations: 99.67 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.242e-05/0.003121, allocations: 4 kB / 381.9 MB, free: 20.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.003173, allocations: 59.88 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.003249, allocations: 67.84 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.003261, allocations: 4 kB / 382.1 MB, free: 20.65 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.935e-05/0.00332, allocations: 43.92 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.003355, allocations: 27.92 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.003381, allocations: 19.86 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.003513, allocations: 99.59 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.003515, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003515, allocations: 0 / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003518, allocations: 0 / 382.3 MB, free: 20.46 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.000259/0.003777, allocations: 463.7 kB / 382.7 MB, free: 19.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.548e-05/0.003803, allocations: 8.031 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.003831, allocations: 16.84 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.003921, allocations: 153.2 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.003929, allocations: 4.375 kB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.003943, allocations: 4.375 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.817e-05/0.004011, allocations: 66.86 kB / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.004019, allocations: 192 / 383 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.004025, allocations: 4.125 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.00403, allocations: 4 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.95e-05/0.004049, allocations: 7.984 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.004226, allocations: 272.4 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.004268, allocations: 42.98 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.004281, allocations: 15.67 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.004292, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.251e-05/0.004305, allocations: 41.33 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.004305, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003555/0.004661, allocations: 153.6 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.656e-05/0.004677, allocations: 59.41 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.004762, allocations: 256.9 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-06/0.004767, allocations: 25.7 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.004799, allocations: 170.8 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.004819, allocations: 27.75 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.004843, allocations: 27.34 kB / 384 MB, free: 18.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.004883, allocations: 0.5039 MB / 384.5 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.004899, allocations: 7.938 kB / 384.5 MB, free: 17.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.004913, allocations: 19.97 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.004941, allocations: 23.69 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004943, allocations: 7.938 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.283e-05/0.005006, allocations: 77.59 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.005015, allocations: 4 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.005018, allocations: 0 / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.005025, allocations: 0 / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.005077, allocations: 23.92 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.00508, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.005097, allocations: 0 / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.005103, allocations: 4 kB / 384.7 MB, free: 17.8 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.166e-05/0.005145, allocations: 172.5 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.005165, allocations: 11.95 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.005257, allocations: 91.39 kB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005258, allocations: 0 / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005259, allocations: 0 / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005262, allocations: 4 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.005451, allocations: 353.5 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.005452, allocations: 0 / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.005483, allocations: 15.98 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005485, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.00549, allocations: 4 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005491, allocations: 0 / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005491, allocations: 4.031 kB / 385.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.245e-05/0.005564, allocations: 243.4 kB / 385.6 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.005572, allocations: 11.91 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.005582, allocations: 0 / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.005617, allocations: 4 kB / 385.6 MB, free: 16.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.005637, allocations: 11.98 kB / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.00564, allocations: 0 / 385.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.978e-05/0.00568, allocations: 175.1 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00568, allocations: 0 / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.005842, allocations: 23.94 kB / 385.8 MB, free: 16.62 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.0007634/0.006606, allocations: 433.9 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.006681, allocations: 47.59 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.006682, allocations: 0 / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.006702, allocations: 23.67 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.006899, allocations: 27.33 kB / 386.3 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.00714, allocations: 245.4 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.007164, allocations: 83.38 kB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.007194, allocations: 8.734 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.007234, allocations: 82.19 kB / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007235, allocations: 0 / 386.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.002584/0.009819, allocations: 1.575 MB / 388.3 MB, free: 14.23 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.836047525051981]