Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001395/0.001395, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001722/0.001722, allocations: 168.6 kB / 24.99 MB, free: 8.871 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 1.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2524/0.2524, allocations: 34.25 MB / 296 MB, free: 0.7656 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.543e-05, allocations: 2.312 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002311/0.002327, allocations: 1.642 MB / 379.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007717/0.003099, allocations: 0.5336 MB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.003153, allocations: 0 / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.003388, allocations: 83.64 kB / 380.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.003642, allocations: 107.5 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.003849, allocations: 91.62 kB / 380.5 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.003997, allocations: 91.67 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.00408, allocations: 8 kB / 380.6 MB, free: 376 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.004147, allocations: 51.88 kB / 380.6 MB, free: 324 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.004241, allocations: 51.88 kB / 380.7 MB, free: 272 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.004254, allocations: 4 kB / 380.7 MB, free: 268 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.004336, allocations: 43.92 kB / 380.7 MB, free: 224 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.004382, allocations: 19.92 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.004415, allocations: 19.92 kB / 380.8 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.00457, allocations: 87.67 kB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004572, allocations: 0 / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004573, allocations: 0 / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004577, allocations: 3.938 kB / 380.9 MB, free: 92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003966/0.004973, allocations: 443.9 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.00501, allocations: 16.02 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.005054, allocations: 16.84 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.005439, allocations: 141.1 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.005447, allocations: 384 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.005467, allocations: 8.375 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.005577, allocations: 58.88 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.005588, allocations: 4.188 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005599, allocations: 8.125 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.005606, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.005643, allocations: 15.97 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.00593, allocations: 287.7 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.005997, allocations: 50.98 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.006022, allocations: 19.62 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.006039, allocations: 0 / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.006059, allocations: 33.48 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.006059, allocations: 0 / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005384/0.006598, allocations: 173.7 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.006628, allocations: 55.41 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.006782, allocations: 238.4 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.006792, allocations: 33.64 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.006855, allocations: 162.7 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.00688, allocations: 23.8 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.006918, allocations: 27.38 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.007038, allocations: 0.5 MB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.007063, allocations: 11.98 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.007085, allocations: 12.06 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.007138, allocations: 31.69 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.007138, allocations: 0 / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001037/0.007242, allocations: 81.56 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.007255, allocations: 14.34 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007258, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.007269, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.007348, allocations: 15.94 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.007352, allocations: 0 / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.007379, allocations: 11.98 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.007385, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.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 6.832e-05/0.007453, allocations: 164.5 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.007486, allocations: 19.91 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.007621, allocations: 79.45 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007623, allocations: 7.938 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.007627, allocations: 3.984 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.00763, allocations: 0 / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.007953, allocations: 377.1 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007955, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.008004, allocations: 15.98 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008006, allocations: 0 / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.008013, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.008016, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008017, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.008158, allocations: 243.4 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.117e-05/0.008169, allocations: 11.94 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.008182, allocations: 0 / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.008243, allocations: 12 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.008275, allocations: 11.92 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.008279, allocations: 3.938 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.008365, allocations: 167.2 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008365, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.008602, allocations: 20 kB / 384.5 MB, free: 12.21 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: 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.001069/0.009671, allocations: 442.8 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.009776, allocations: 47.59 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.009777, allocations: 0 / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.009812, allocations: 23.67 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01008, allocations: 27.89 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.01043, allocations: 229.8 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.01047, allocations: 71.34 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.01051, allocations: 17.08 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.01054, allocations: 16.5 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01054, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of Templates: time 0.003311/0.01385, allocations: 1.37 MB / 386.7 MB, free: 10.1 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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.2674102149903774]