Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0009897/0.0009897, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00102/0.00102, allocations: 163.1 kB / 24.99 MB, free: 8.758 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.3243/0.3243, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.315e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.00234/0.002373, allocations: 1.704 MB / 377.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003822, allocations: 1.289 MB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.00388, allocations: 7.938 kB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.004088, allocations: 27.78 kB / 379 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.004366, allocations: 79.5 kB / 379.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.00459, allocations: 135.6 kB / 379.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.004722, allocations: 75.77 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.004815, allocations: 15.98 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.004879, allocations: 35.91 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004981, allocations: 27.91 kB / 379.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.004996, allocations: 7.938 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.005122, allocations: 91.81 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.00518, allocations: 23.92 kB / 379.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.00521, allocations: 23.91 kB / 379.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.005415, allocations: 131.6 kB / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.005418, allocations: 0 / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005419, allocations: 0 / 379.7 MB, free: 1.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005424, allocations: 0 / 379.7 MB, free: 1.293 MB / 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.0004243/0.005849, allocations: 439.9 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.005885, allocations: 8.031 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.00594, allocations: 16.89 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.006099, allocations: 132.5 kB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.006111, allocations: 4.375 kB / 380.3 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.006131, allocations: 4.375 kB / 380.3 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.006283, allocations: 116 kB / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.006293, allocations: 192 / 380.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.006303, allocations: 4.125 kB / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.006311, allocations: 0 / 380.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.006347, allocations: 11.98 kB / 380.4 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.006651, allocations: 279.7 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.006725, allocations: 43.05 kB / 380.7 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.00675, allocations: 19.62 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.00677, allocations: 4 kB / 380.7 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.006792, allocations: 33.39 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.006794, allocations: 0 / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004329/0.007227, allocations: 133.5 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.007266, allocations: 77.11 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.007387, allocations: 195.9 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.007397, allocations: 25.7 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.007447, allocations: 146.8 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.007468, allocations: 19.86 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.007499, allocations: 31.36 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.007609, allocations: 0.4884 MB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.007634, allocations: 15.92 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.007674, allocations: 53.06 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.007723, allocations: 31.62 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007724, allocations: 0 / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.13e-05/0.007815, allocations: 77.84 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.00783, allocations: 4 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007834, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007847, allocations: 0 / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.007934, allocations: 31.89 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.00794, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.007966, allocations: 8 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.007972, allocations: 3.984 kB / 382.1 MB, free: 14.63 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 (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 6.781e-05/0.00804, allocations: 164.5 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.008064, allocations: 11.91 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.008204, allocations: 82.39 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008206, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.008209, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008212, allocations: 0 / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.008468, allocations: 349.3 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.008469, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.008515, allocations: 15.98 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.008518, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.008525, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.008526, allocations: 0 / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008527, allocations: 4 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.008649, allocations: 220 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.008658, allocations: 7.938 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.008674, allocations: 8 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.008716, allocations: 8 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.008756, allocations: 7.969 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.00876, allocations: 4 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.008824, allocations: 153 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008824, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000195/0.009019, allocations: 39.88 kB / 383.1 MB, free: 13.5 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009845/0.01, allocations: 488.9 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.01012, allocations: 43.61 kB / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01012, allocations: 0 / 383.7 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.085e-05/0.01015, allocations: 27.67 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.01036, allocations: 23.5 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.01071, allocations: 196.7 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.841e-05/0.01075, allocations: 63.34 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.406e-05/0.01079, allocations: 12.3 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.01083, allocations: 24.48 kB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01083, allocations: 0 / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of Templates: time 0.004054/0.01489, allocations: 1.973 MB / 386 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.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.314930652966723]