Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.00126/0.00126, 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.001329/0.001329, allocations: 170.4 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.9571/0.9571, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2729/0.2729, allocations: 34.27 MB / 296.1 MB, free: 0.7422 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.213e-05, allocations: 3.516 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002408/0.00243, allocations: 1.735 MB / 327 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.003245, allocations: 0.5452 MB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.893e-05/0.003304, allocations: 0 / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.003564, allocations: 107.5 kB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.003774, allocations: 103.5 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.003962, allocations: 95.67 kB / 327.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.004106, allocations: 99.73 kB / 328 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.004201, allocations: 24.41 kB / 328 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.004268, allocations: 47.89 kB / 328.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.137e-05/0.004349, allocations: 51.88 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.004366, allocations: 8 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.004437, allocations: 51.91 kB / 328.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.004479, allocations: 27.86 kB / 328.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.004505, allocations: 19.92 kB / 328.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.004657, allocations: 111.5 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.004659, allocations: 0 / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004659, allocations: 0 / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004663, allocations: 0 / 328.3 MB, free: 4.621 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002914/0.004954, allocations: 341.4 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.00498, allocations: 12.03 kB / 328.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.005005, allocations: 12.92 kB / 328.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.005128, allocations: 153.5 kB / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.005136, allocations: 384 / 328.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.005154, allocations: 12.36 kB / 328.8 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.827e-05/0.005243, allocations: 67.92 kB / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.005251, allocations: 192 / 328.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.005259, allocations: 4.125 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.005263, allocations: 0 / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.486e-05/0.005288, allocations: 15.98 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.005496, allocations: 202.9 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.005549, allocations: 42.56 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.005569, allocations: 12.86 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.005584, allocations: 7.938 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.005611, allocations: 34.5 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005612, allocations: 112 / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004235/0.006036, allocations: 204.4 kB / 329.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.006065, allocations: 55.41 kB / 329.5 MB, free: 3.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.00619, allocations: 185.1 kB / 329.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.0062, allocations: 33.7 kB / 329.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.00623, allocations: 92.11 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.006264, allocations: 55.52 kB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.006298, allocations: 33.69 kB / 329.9 MB, free: 2.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.006396, allocations: 330.7 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.006412, allocations: 11.94 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.006428, allocations: 11.98 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.284e-05/0.006471, allocations: 40.83 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.006472, allocations: 0 / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.192e-05/0.006543, allocations: 72.05 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.006553, allocations: 8 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006557, allocations: 240 / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.006564, allocations: 0 / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.006625, allocations: 27.92 kB / 330.4 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.00663, allocations: 7.984 kB / 330.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.006659, allocations: 7.984 kB / 330.4 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.006668, allocations: 4 kB / 330.4 MB, free: 2.406 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 (13): * Single equations (assignments): 13 * 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 5.713e-05/0.006725, allocations: 116.6 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.006745, allocations: 11.98 kB / 330.5 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.006862, allocations: 99.06 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.006864, allocations: 4 kB / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.01e-07/0.006864, allocations: 0 / 330.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.006868, allocations: 3.984 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.007149, allocations: 298.5 kB / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.00715, allocations: 0 / 330.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.007195, allocations: 23.98 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007196, allocations: 0 / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.007203, allocations: 4 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007206, allocations: 7.938 kB / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007207, allocations: 0 / 330.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.758e-05/0.007294, allocations: 176.3 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.007303, allocations: 15.89 kB / 331.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.007315, allocations: 8 kB / 331.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.302e-05/0.007348, allocations: 4 kB / 331.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.007375, allocations: 15.92 kB / 331.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.00738, allocations: 3.984 kB / 331.2 MB, free: 1.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.427e-05/0.007424, allocations: 65.55 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007424, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001416/0.007565, allocations: 27.94 kB / 331.2 MB, free: 1.473 MB / 298.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 (13): * Single equations (assignments): 13 * 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.00124/0.008805, allocations: 0.5684 MB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.008906, allocations: 60.64 kB / 331.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.008909, allocations: 0 / 331.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.008945, allocations: 36.73 kB / 331.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009159, allocations: 19.98 kB / 331.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.009525, allocations: 274.4 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.35e-05/0.009569, allocations: 71.33 kB / 332.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.96e-05/0.009608, allocations: 20.47 kB / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.009666, allocations: 71.42 kB / 332.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of SimCode: time 6.32e-07/0.009667, allocations: 4 kB / 332.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of Templates: time 0.003246/0.01291, allocations: 1.683 MB / 334 MB, free: 14.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.862354276701808]