Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.001616/0.001616, allocations: 108.5 kB / 21.23 MB, free: 0.5078 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.001514/0.001514, allocations: 190.5 kB / 24.51 MB, free: 3.898 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.515/1.515, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.2708/0.2708, allocations: 44.91 MB / 353.5 MB, free: 11.82 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.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 67.88 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4427, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003394/0.4461, allocations: 1.594 MB / 0.5504 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.448, allocations: 1.114 MB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.4481, allocations: 1.125 kB / 0.5515 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.4483, allocations: 24.27 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.4486, allocations: 47.45 kB / 0.5515 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.4488, allocations: 89.61 kB / 0.5516 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.449, allocations: 58.67 kB / 0.5517 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4491, allocations: 11.25 kB / 0.5517 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.4492, allocations: 31.81 kB / 0.5517 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.4493, allocations: 21.61 kB / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4493, allocations: 3.562 kB / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4494, allocations: 57.19 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.4495, allocations: 14.64 kB / 0.5518 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.4495, allocations: 14.75 kB / 0.5518 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.4497, allocations: 91.23 kB / 0.5519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4497, allocations: 0 / 0.5519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4498, allocations: 0 / 0.5519 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.4498, allocations: 0 / 0.5519 GB, free: 10.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005433/0.4503, allocations: 306.5 kB / 0.5522 GB, free: 10.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4503, allocations: 11.2 kB / 0.5522 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.4504, allocations: 7.547 kB / 0.5522 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.4506, allocations: 126.7 kB / 0.5523 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.4506, allocations: 4.375 kB / 0.5524 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.4506, allocations: 3.094 kB / 0.5524 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4508, allocations: 63.14 kB / 0.5524 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4508, allocations: 5.109 kB / 0.5524 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4508, allocations: 4 kB / 0.5524 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4508, allocations: 1.062 kB / 0.5524 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.4509, allocations: 24.73 kB / 0.5524 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.4513, allocations: 248.4 kB / 0.5527 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.4515, allocations: 39 kB / 0.5527 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.4516, allocations: 11.36 kB / 0.5527 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.4516, allocations: 3.984 kB / 0.5527 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4516, allocations: 43.64 kB / 0.5528 GB, free: 9.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.4516, allocations: 1.125 kB / 0.5528 GB, free: 9.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005601/0.4522, allocations: 134.3 kB / 0.5529 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.4522, allocations: 78.45 kB / 0.553 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.4524, allocations: 140.1 kB / 0.5531 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.4524, allocations: 26.8 kB / 0.5531 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.4525, allocations: 90.11 kB / 0.5532 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.4525, allocations: 21.94 kB / 0.5532 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.4525, allocations: 26.42 kB / 0.5533 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4527, allocations: 317 kB / 0.5536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.4528, allocations: 17.92 kB / 0.5536 GB, free: 9.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.721e-05/0.4529, allocations: 30.77 kB / 0.5536 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.453, allocations: 52.05 kB / 0.5537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.453, allocations: 0 / 0.5537 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001979/0.4532, allocations: 87.52 kB / 0.5538 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4532, allocations: 5.594 kB / 0.5538 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4532, allocations: 0 / 0.5538 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4532, allocations: 5.016 kB / 0.5538 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.4533, allocations: 9.562 kB / 0.5538 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4533, allocations: 1.031 kB / 0.5538 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.4534, allocations: 15.27 kB / 0.5538 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4534, allocations: 1.125 kB / 0.5538 GB, free: 8.898 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 (5): * Single equations (assignments): 5 * 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 9.594e-05/0.4535, allocations: 122 kB / 0.5539 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.4535, allocations: 7.391 kB / 0.5539 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.4538, allocations: 87.38 kB / 0.554 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4538, allocations: 0.875 kB / 0.554 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4538, allocations: 0 / 0.554 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4538, allocations: 4.969 kB / 0.554 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.4542, allocations: 316.8 kB / 0.5543 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4542, allocations: 0 / 0.5543 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.357e-05/0.4543, allocations: 8.812 kB / 0.5543 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.4543, allocations: 1 kB / 0.5543 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4543, allocations: 3.938 kB / 0.5543 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4543, allocations: 9.297 kB / 0.5543 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4543, allocations: 0 / 0.5543 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.4545, allocations: 175.8 kB / 0.5545 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.4545, allocations: 5.047 kB / 0.5545 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.4546, allocations: 1.344 kB / 0.5545 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.4546, allocations: 15.61 kB / 0.5545 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4547, allocations: 6.562 kB / 0.5545 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4547, allocations: 1.312 kB / 0.5545 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.615e-05/0.4548, allocations: 113.2 kB / 0.5546 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4548, allocations: 0 / 0.5546 GB, free: 8.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.455, allocations: 27.53 kB / 0.5547 GB, free: 8.09 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 (5): * Single equations (assignments): 5 * 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.001577/0.4566, allocations: 450.6 kB / 0.5551 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.4568, allocations: 46.5 kB / 0.5551 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4568, allocations: 1.219 kB / 0.5551 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.889e-05/0.4569, allocations: 22.11 kB / 0.5552 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.4573, allocations: 15.92 kB / 0.5552 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.4577, allocations: 165.7 kB / 0.5553 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.458, allocations: 0.6951 MB / 0.556 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.724e-05/0.4581, allocations: 6.188 kB / 0.556 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.4581, allocations: 16.39 kB / 0.556 GB, free: 6.965 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4581, allocations: 0 / 0.556 GB, free: 6.965 MB / 398.1 MB Notification: Performance of Templates: time 0.004425/0.4626, allocations: 1.367 MB / 0.5574 GB, free: 6.258 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.5940270172432065]