Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 104.8 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002327/0.002327, allocations: 189.2 kB / 24.51 MB, free: 4.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 225.6 MB / 253.3 MB, free: 12.99 MB / 206.1 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.2745/0.2745, allocations: 44.9 MB / 353.5 MB, free: 11.8 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.88 kB / 497.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4557, allocations: 64.3 MB / 0.5488 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003444/0.4592, allocations: 1.647 MB / 0.5504 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.4611, allocations: 1.132 MB / 0.5515 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.4611, allocations: 1.469 kB / 0.5515 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.4614, allocations: 22.66 kB / 0.5516 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.4616, allocations: 44.53 kB / 0.5516 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.462, allocations: 128.1 kB / 0.5517 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4621, allocations: 60.69 kB / 0.5518 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.4623, allocations: 28.56 kB / 0.5518 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.4623, allocations: 17.25 kB / 0.5518 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.4625, allocations: 38.39 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.4625, allocations: 8.188 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4626, allocations: 45.23 kB / 0.5519 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.4627, allocations: 16.33 kB / 0.5519 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.4627, allocations: 25.23 kB / 0.552 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.463, allocations: 102.3 kB / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.463, allocations: 0 / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.463, allocations: 0 / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.463, allocations: 0 / 0.5521 GB, free: 10.6 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005837/0.4636, allocations: 307.8 kB / 0.5524 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4636, allocations: 14.42 kB / 0.5524 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.4637, allocations: 7.453 kB / 0.5524 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4639, allocations: 138.3 kB / 0.5525 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4639, allocations: 1.906 kB / 0.5525 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.4639, allocations: 7.312 kB / 0.5525 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.4642, allocations: 80.56 kB / 0.5526 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.4642, allocations: 0 / 0.5526 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4642, allocations: 1.094 kB / 0.5526 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4642, allocations: 4 kB / 0.5526 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.4643, allocations: 37.12 kB / 0.5526 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.4648, allocations: 247.8 kB / 0.5529 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.4649, allocations: 46.39 kB / 0.5529 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.465, allocations: 26.75 kB / 0.5529 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.465, allocations: 1.156 kB / 0.5529 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.465, allocations: 31.66 kB / 0.553 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4651, allocations: 0 / 0.553 GB, free: 9.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008393/0.4659, allocations: 212.2 kB / 0.5532 GB, free: 9.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.466, allocations: 78.42 kB / 0.5532 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4661, allocations: 138.5 kB / 0.5534 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4661, allocations: 27.11 kB / 0.5534 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.4662, allocations: 94.94 kB / 0.5535 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.4662, allocations: 25.88 kB / 0.5535 GB, free: 9.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.4663, allocations: 19.19 kB / 0.5535 GB, free: 9.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4664, allocations: 324.9 kB / 0.5538 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4665, allocations: 26.39 kB / 0.5539 GB, free: 8.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4667, allocations: 62.67 kB / 0.5539 GB, free: 8.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.4669, allocations: 76.81 kB / 0.554 GB, free: 8.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4669, allocations: 0 / 0.554 GB, free: 8.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003172/0.4672, allocations: 109.2 kB / 0.5541 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4673, allocations: 5.844 kB / 0.5541 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4673, allocations: 0 / 0.5541 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4673, allocations: 0 / 0.5541 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4674, allocations: 19.67 kB / 0.5541 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4674, allocations: 0 / 0.5541 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.4675, allocations: 17.7 kB / 0.5542 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.4675, allocations: 10.12 kB / 0.5542 GB, free: 8.66 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.0001223/0.4676, allocations: 118.5 kB / 0.5543 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.4677, allocations: 7.516 kB / 0.5543 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.468, allocations: 118.9 kB / 0.5544 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.468, allocations: 4 kB / 0.5544 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.468, allocations: 1.188 kB / 0.5544 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.468, allocations: 3.938 kB / 0.5544 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.4686, allocations: 352.7 kB / 0.5547 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4686, allocations: 0 / 0.5547 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.4687, allocations: 18.89 kB / 0.5548 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4687, allocations: 4.922 kB / 0.5548 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4687, allocations: 20.84 kB / 0.5548 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4687, allocations: 0 / 0.5548 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4687, allocations: 1.094 kB / 0.5548 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4691, allocations: 205.2 kB / 0.555 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.4691, allocations: 6.297 kB / 0.555 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.4691, allocations: 9.062 kB / 0.555 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4692, allocations: 13.58 kB / 0.555 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.4693, allocations: 11.55 kB / 0.555 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.4693, allocations: 0.9688 kB / 0.555 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.527e-05/0.4693, allocations: 101.7 kB / 0.5551 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4693, allocations: 0 / 0.5551 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.4696, allocations: 29.95 kB / 0.5551 GB, free: 7.797 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.001626/0.4712, allocations: 453.4 kB / 0.5556 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.4716, allocations: 73.8 kB / 0.5556 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4716, allocations: 0 / 0.5556 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4717, allocations: 39.88 kB / 0.5557 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4721, allocations: 18.33 kB / 0.5557 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.4725, allocations: 186.7 kB / 0.5559 GB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.4729, allocations: 0.695 MB / 0.5566 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.574e-05/0.473, allocations: 30.36 kB / 0.5566 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.473, allocations: 17.03 kB / 0.5566 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.473, allocations: 0 / 0.5566 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Templates: time 0.00499/0.478, allocations: 1.527 MB / 0.5581 GB, free: 5.75 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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: 5.535885646939278]