Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001397/0.001397, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001507/0.001507, allocations: 168.3 kB / 24.82 MB, free: 9.262 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.276/0.276, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 376.5 MB, free: 4.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.444e-05, allocations: 6.312 kB / 376.5 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.004425/0.004449, allocations: 1.717 MB / 378.2 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.005112, allocations: 0.5374 MB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.119e-05/0.005163, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.005359, allocations: 59.72 kB / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.005618, allocations: 107.5 kB / 378.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.005854, allocations: 119.7 kB / 379 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.005981, allocations: 91.67 kB / 379.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.006063, allocations: 16.23 kB / 379.1 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.814e-05/0.006131, allocations: 43.88 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.822e-05/0.00621, allocations: 47.88 kB / 379.2 MB, free: 1.59 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.006221, allocations: 8 kB / 379.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.482e-05/0.006306, allocations: 47.92 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.006361, allocations: 23.92 kB / 379.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.006383, allocations: 19.92 kB / 379.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.006525, allocations: 103.5 kB / 379.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.006527, allocations: 4 kB / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006528, allocations: 0 / 379.4 MB, free: 1.387 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.006532, allocations: 0 / 379.4 MB, free: 1.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00034/0.006872, allocations: 439.9 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.006903, allocations: 12.03 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.006933, allocations: 12.89 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.007041, allocations: 144.4 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.007049, allocations: 4.375 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.007067, allocations: 12.33 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/0.007155, allocations: 58.94 kB / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007164, allocations: 192 / 380.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.007172, allocations: 8.125 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.007177, allocations: 0 / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.007202, allocations: 15.92 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.007428, allocations: 268.4 kB / 380.4 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.007546, allocations: 59.06 kB / 380.4 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.007561, allocations: 11.69 kB / 380.5 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.007581, allocations: 7.938 kB / 380.5 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.007601, allocations: 37.39 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.007602, allocations: 0 / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00047/0.008072, allocations: 221.8 kB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.008095, allocations: 59.34 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.008204, allocations: 222.4 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.008215, allocations: 25.7 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/0.008267, allocations: 158.8 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.008295, allocations: 43.61 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-05/0.008329, allocations: 31.36 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.008436, allocations: 0.4961 MB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.008455, allocations: 11.98 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.008473, allocations: 11.98 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.008518, allocations: 47.61 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00852, allocations: 4 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.793e-05/0.008608, allocations: 85.59 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.008619, allocations: 13.8 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.008623, allocations: 0 / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.008633, allocations: 0 / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.008693, allocations: 23.98 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.008695, allocations: 0 / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.008717, allocations: 4 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.008722, allocations: 0 / 381.9 MB, free: 14.68 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 (11): * Single equations (assignments): 11 * 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.195e-05/0.008784, allocations: 164.5 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.008806, allocations: 19.94 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.008936, allocations: 114.7 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008938, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.008939, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.008942, allocations: 0 / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.009228, allocations: 377.2 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.00923, allocations: 0 / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.009279, allocations: 27.98 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009282, allocations: 0 / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.009289, allocations: 8.062 kB / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.00929, allocations: 0 / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009291, allocations: 192 / 382.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.009427, allocations: 271 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.009436, allocations: 7.953 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.009447, allocations: 4 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.009489, allocations: 8 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.009518, allocations: 11.92 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.009524, allocations: 7.984 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.769e-05/0.009581, allocations: 159.1 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009581, allocations: 4 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.00975, allocations: 23.94 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009005/0.01065, allocations: 432 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01076, allocations: 47.66 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01076, allocations: 3.938 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.0108, allocations: 47.53 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.01103, allocations: 16.17 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.01138, allocations: 268.5 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01142, allocations: 71.33 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.085e-05/0.01146, allocations: 12.48 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.01152, allocations: 90.19 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01152, allocations: 0 / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.003172/0.0147, allocations: 1.753 MB / 385.8 MB, free: 10.8 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.984650664962828]