Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.000962/0.000962, 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.001121/0.001121, allocations: 163.2 kB / 24.99 MB, free: 9.316 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.3246/0.3246, allocations: 34.25 MB / 296 MB, free: 0.7773 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.CombiTable1Dv.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.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.126e-05, allocations: 5.828 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002379/0.00241, allocations: 1.646 MB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.003731, allocations: 1.289 MB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.107e-05/0.003802, allocations: 4 kB / 381 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.004072, allocations: 23.89 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.004395, allocations: 87.39 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.004694, allocations: 115.6 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.004851, allocations: 79.77 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.004964, allocations: 15.94 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.973e-05/0.005034, allocations: 51.83 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.00514, allocations: 31.89 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.005159, allocations: 4 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.005316, allocations: 91.88 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.436e-05/0.005361, allocations: 11.94 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.005402, allocations: 23.92 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.005639, allocations: 139.5 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005643, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005644, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005648, allocations: 0 / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000461/0.006109, allocations: 435.9 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.006146, allocations: 12.03 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.006206, allocations: 20.84 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.006383, allocations: 146.3 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.006392, allocations: 384 / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.006418, allocations: 8.375 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.006596, allocations: 108 kB / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.006605, allocations: 192 / 382.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.006618, allocations: 12.11 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.006627, allocations: 4 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.006666, allocations: 15.92 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.007006, allocations: 295.7 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.007083, allocations: 51.02 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.587e-05/0.007109, allocations: 23.81 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.00713, allocations: 0 / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.007155, allocations: 37.39 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.007156, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004326/0.007589, allocations: 129.4 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.007631, allocations: 81.11 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.007763, allocations: 208.2 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.007774, allocations: 25.7 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.007829, allocations: 146.9 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.751e-05/0.007856, allocations: 35.67 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.007892, allocations: 27.36 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.008007, allocations: 0.4922 MB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.008037, allocations: 15.98 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.008082, allocations: 57.08 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.00814, allocations: 35.67 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008141, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001103/0.008252, allocations: 73.64 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008266, allocations: 4 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008271, allocations: 4.031 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.008286, allocations: 0 / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.008375, allocations: 27.91 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.008381, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.402e-05/0.008405, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.008411, allocations: 4 kB / 384.1 MB, free: 12.61 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 7.696e-05/0.008488, allocations: 164.5 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.008513, allocations: 11.94 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.008665, allocations: 90.38 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.008668, allocations: 4 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008672, allocations: 4 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.008677, allocations: 0 / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.00898, allocations: 357.6 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.008983, allocations: 3.984 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.785e-05/0.009031, allocations: 16 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.009034, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.009042, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.009045, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.009047, allocations: 80 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.009191, allocations: 231.7 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.009205, allocations: 11.95 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.009222, allocations: 4.375 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.009261, allocations: 7.984 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.009298, allocations: 7.938 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.009303, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.823e-05/0.009381, allocations: 159.1 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009381, allocations: 0 / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000226/0.009607, allocations: 43.86 kB / 385.2 MB, free: 11.43 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 (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.001072/0.01068, allocations: 478.3 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.01081, allocations: 51.58 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01081, allocations: 0 / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.01084, allocations: 23.67 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.01108, allocations: 31.86 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.01145, allocations: 194.2 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.01149, allocations: 63.34 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.01156, allocations: 25 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.0116, allocations: 20.5 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01161, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.004126/0.01573, allocations: 1.938 MB / 388 MB, free: 8.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.30958979902789]