Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001456/0.001456, 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.001513/0.001513, 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.538/1.538, allocations: 177.2 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.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.3912/0.3912, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/3.032e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003521/0.003551, allocations: 1.623 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004776, allocations: 0.5219 MB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.004824, allocations: 0 / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.005521, allocations: 455 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008173/0.006338, allocations: 291.3 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.006712, allocations: 127.6 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.006977, allocations: 171.6 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.007068, allocations: 8 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.007257, allocations: 127.7 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.007606, allocations: 239.6 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.007625, allocations: 0 / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-05/0.007709, allocations: 27.92 kB / 380.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.007869, allocations: 83.7 kB / 380.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.162e-05/0.007941, allocations: 39.75 kB / 381 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.008318, allocations: 231.1 kB / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.008321, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.008321, allocations: 0 / 381.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.008327, allocations: 0 / 381.2 MB, free: 15.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008992/0.009227, allocations: 0.5738 MB / 381.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.009267, allocations: 12.02 kB / 381.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.00936, allocations: 44.66 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.009733, allocations: 238 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.009745, allocations: 384 / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.009759, allocations: 4.375 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.009954, allocations: 62.17 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.009968, allocations: 4.125 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.009981, allocations: 4.125 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.009987, allocations: 0 / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.01013, allocations: 31.97 kB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.01068, allocations: 320.5 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.01083, allocations: 38.56 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.466e-05/0.0109, allocations: 20.94 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.01094, allocations: 11.88 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.01098, allocations: 34.56 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.01098, allocations: 0 / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004182/0.0114, allocations: 117.4 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.01145, allocations: 55.39 kB / 382.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.01252, allocations: 0.8575 MB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.01254, allocations: 29.7 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.01277, allocations: 216 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.01279, allocations: 11.95 kB / 383.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.01283, allocations: 13.72 kB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.01307, allocations: 362.8 kB / 384.2 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.01315, allocations: 15.92 kB / 384.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.01321, allocations: 19.98 kB / 384.3 MB, free: 11.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.01337, allocations: 29.12 kB / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01337, allocations: 0 / 384.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002547/0.01363, allocations: 125.3 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01365, allocations: 4 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01365, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.01368, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01378, allocations: 11.98 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.01378, allocations: 0 / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.01384, allocations: 11.94 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.01385, allocations: 0 / 384.4 MB, free: 11.62 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 (3): * Single equations (assignments): 3 * 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.000242/0.01409, allocations: 213.8 kB / 384.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.01417, allocations: 47.66 kB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.01447, allocations: 125 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.01447, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01447, allocations: 0 / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.01448, allocations: 7.922 kB / 384.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.01481, allocations: 229.2 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01481, allocations: 4 kB / 385.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.01487, allocations: 4 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01487, allocations: 7.938 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01488, allocations: 4 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01488, allocations: 0 / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01488, allocations: 3.984 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.0152, allocations: 203.2 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.01525, allocations: 31.72 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.01527, allocations: 3.938 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.01537, allocations: 7.984 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.01538, allocations: 0 / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01539, allocations: 8 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007736/0.01616, allocations: 0.655 MB / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01616, allocations: 0 / 386 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000253/0.01641, allocations: 16 kB / 386 MB, free: 10 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 (3): * Single equations (assignments): 3 * 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.001682/0.01809, allocations: 369 kB / 386.4 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.0183, allocations: 47.89 kB / 386.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01831, allocations: 0 / 386.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.01837, allocations: 15.98 kB / 386.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.0188, allocations: 33.83 kB / 386.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.02012, allocations: 0.8032 MB / 387.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.02064, allocations: 220 kB / 387.5 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.02068, allocations: 7.984 kB / 387.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.02072, allocations: 16.48 kB / 387.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.02072, allocations: 0 / 387.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of Templates: time 0.005076/0.0258, allocations: 1.157 MB / 388.7 MB, free: 7.453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.893446761998348]