Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 80.8 kB / 21.49 MB, free: 2.992 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.004277/0.004277, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9676/0.9676, allocations: 177.1 MB / 205.3 MB, free: 5.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.2525/0.2525, allocations: 34.25 MB / 296.1 MB, free: 0.7305 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.192e-05, allocations: 7.016 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001853/0.001864, allocations: 1.657 MB / 326.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.003024, allocations: 1.29 MB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.003071, allocations: 3.938 kB / 328.2 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.00325, allocations: 23.84 kB / 328.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.003479, allocations: 87.5 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.00366, allocations: 95.62 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.003784, allocations: 83.75 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.997e-05/0.003854, allocations: 11.98 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.31e-05/0.003907, allocations: 35.91 kB / 328.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.831e-05/0.003985, allocations: 27.91 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.003998, allocations: 4 kB / 328.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.004116, allocations: 95.81 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.004153, allocations: 27.92 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.004174, allocations: 15.92 kB / 328.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004342, allocations: 143.5 kB / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.004343, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004344, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.204e-06/0.004346, allocations: 0 / 328.8 MB, free: 4.078 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002999/0.004646, allocations: 306.2 kB / 329.1 MB, free: 3.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.004678, allocations: 8.031 kB / 329.2 MB, free: 3.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.004706, allocations: 8.922 kB / 329.2 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.004827, allocations: 137.6 kB / 329.3 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.004834, allocations: 8.375 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.004853, allocations: 4.375 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.004955, allocations: 106.3 kB / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.004964, allocations: 192 / 329.4 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004972, allocations: 8.125 kB / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.004976, allocations: 0 / 329.4 MB, free: 3.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.005, allocations: 11.98 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.005189, allocations: 171.1 kB / 329.6 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.906e-05/0.005238, allocations: 38.5 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.005251, allocations: 8.859 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.005266, allocations: 8 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.005284, allocations: 38.44 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.005284, allocations: 0 / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002748/0.005559, allocations: 109.7 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.005589, allocations: 81.11 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.005682, allocations: 140.3 kB / 330 MB, free: 2.766 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.005693, allocations: 33.69 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.005721, allocations: 96.08 kB / 330.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.005774, allocations: 27.73 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.005799, allocations: 17.72 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/0.005864, allocations: 322.8 kB / 330.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.005875, allocations: 12 kB / 330.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.005904, allocations: 55.34 kB / 330.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.005936, allocations: 28.83 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.005936, allocations: 0 / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.382e-05/0.00599, allocations: 53.62 kB / 330.6 MB, free: 2.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.006002, allocations: 10.8 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006006, allocations: 4.688 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.006016, allocations: 0 / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.006073, allocations: 12 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.006076, allocations: 3.938 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.006097, allocations: 16.02 kB / 330.7 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.006102, allocations: 3.984 kB / 330.7 MB, free: 2.039 MB / 298.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.673e-05/0.006149, allocations: 112.7 kB / 330.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.006166, allocations: 11.94 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.663e-05/0.006253, allocations: 70.44 kB / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006254, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-06/0.006255, allocations: 0 / 330.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006258, allocations: 3.984 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002416/0.0065, allocations: 234.7 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006501, allocations: 4 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.006531, allocations: 15.98 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006533, allocations: 4 kB / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.006537, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006538, allocations: 0 / 331.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006539, allocations: 3.938 kB / 331.2 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.459e-05/0.006614, allocations: 163.4 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.006623, allocations: 7.953 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006633, allocations: 0 / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.318e-05/0.006666, allocations: 7.984 kB / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.006684, allocations: 4 kB / 331.3 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.006688, allocations: 7.984 kB / 331.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.154e-05/0.006719, allocations: 35.66 kB / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006719, allocations: 0 / 331.4 MB, free: 1.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.006873, allocations: 35.88 kB / 331.4 MB, free: 1.27 MB / 298.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 (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.001186/0.008059, allocations: 0.6371 MB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.467e-05/0.008133, allocations: 28.8 kB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.008136, allocations: 0 / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.008155, allocations: 20.84 kB / 332.1 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.008288, allocations: 35.81 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.008535, allocations: 187.1 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.07e-05/0.008566, allocations: 63.34 kB / 332.4 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.008603, allocations: 12.72 kB / 332.4 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.008661, allocations: 71.36 kB / 332.5 MB, free: 488 kB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008662, allocations: 0 / 332.5 MB, free: 488 kB / 298.7 MB Notification: Performance of Templates: time 0.003358/0.01202, allocations: 2.095 MB / 334.6 MB, free: 14.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.96991078928113]