Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001513/0.001513, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001661/0.001661, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.523/1.523, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3734/0.3734, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.231e-05, allocations: 2.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00312/0.003142, allocations: 1.684 MB / 377 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.004439, allocations: 0.5569 MB / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.004479, allocations: 0 / 377.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.004655, allocations: 55.73 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.00489, allocations: 95.55 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.005329, allocations: 175.5 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005526, allocations: 91.69 kB / 377.9 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.005635, allocations: 16.22 kB / 377.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.005725, allocations: 47.89 kB / 378 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.005826, allocations: 35.89 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.005845, allocations: 4 kB / 378 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.005958, allocations: 51.92 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.006027, allocations: 23.91 kB / 378.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.006074, allocations: 19.92 kB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.00632, allocations: 115.5 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006324, allocations: 0 / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.006325, allocations: 0 / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.00633, allocations: 0 / 378.2 MB, free: 1.984 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.0006038/0.006934, allocations: 337.7 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.00697, allocations: 8.031 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.007031, allocations: 16.84 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.007254, allocations: 144 kB / 378.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.00727, allocations: 8.375 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.0073, allocations: 4.312 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.007493, allocations: 62.23 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.007509, allocations: 4.188 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.007525, allocations: 8.109 kB / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.00753, allocations: 0 / 378.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.007687, allocations: 43.97 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.008168, allocations: 260.4 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.008432, allocations: 62.48 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.008518, allocations: 24.97 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.008545, allocations: 7.969 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.008578, allocations: 38.59 kB / 379.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.008579, allocations: 7.938 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001613/0.01019, allocations: 413.5 kB / 379.7 MB, free: 460 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.01024, allocations: 51.41 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.01044, allocations: 186.2 kB / 379.9 MB, free: 196 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01046, allocations: 25.7 kB / 379.9 MB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.01054, allocations: 100.1 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.01058, allocations: 39.69 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.01065, allocations: 25.7 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.01083, allocations: 330.8 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.011, allocations: 55.95 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.01114, allocations: 51.91 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.01145, allocations: 132.8 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.01146, allocations: 4 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003842/0.01184, allocations: 165.5 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01185, allocations: 4 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.01186, allocations: 0 / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.01189, allocations: 4 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.01203, allocations: 35.91 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01203, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.01209, allocations: 8 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.01211, allocations: 7.984 kB / 380.9 MB, free: 15.19 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 0.0001233/0.01223, allocations: 129.8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.01228, allocations: 15.91 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/0.01278, allocations: 190.3 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.01278, allocations: 4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.01279, allocations: 4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01279, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007778/0.01357, allocations: 435.6 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01357, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.01369, allocations: 31.91 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01369, allocations: 0 / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.01371, allocations: 12.06 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01371, allocations: 3.938 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01371, allocations: 0 / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.01419, allocations: 281.5 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.01421, allocations: 7.953 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.01423, allocations: 4 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01434, allocations: 15.92 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.01439, allocations: 11.98 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.0144, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.01454, allocations: 142.3 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01454, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.01483, allocations: 24 kB / 382.1 MB, free: 13.82 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.00223/0.01706, allocations: 0.4885 MB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.01743, allocations: 127.8 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01743, allocations: 4 kB / 382.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.0176, allocations: 63.89 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.01802, allocations: 28.11 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.01871, allocations: 310.5 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.01883, allocations: 100.8 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.01892, allocations: 32.45 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.01897, allocations: 16.5 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01897, allocations: 0 / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.00525/0.02422, allocations: 1.651 MB / 385 MB, free: 11.18 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848022641032003]