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.001609/0.001609, allocations: 107.9 kB / 19.8 MB, free: 2.5 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.001889/0.001889, allocations: 196.9 kB / 22.98 MB, free: 5.59 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.598/1.598, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2468/0.2468, allocations: 44.92 MB / 351.6 MB, free: 12.23 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.001906/0.001906, allocations: 63.89 kB / 495.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4298, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00339/0.4332, allocations: 1.654 MB / 0.548 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.4351, allocations: 1.098 MB / 0.5491 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.553e-05/0.4352, allocations: 1.188 kB / 0.5491 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.4354, allocations: 24.36 kB / 0.5491 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.4357, allocations: 46.89 kB / 0.5492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.436, allocations: 126.1 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.4362, allocations: 64.55 kB / 0.5493 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4363, allocations: 12.66 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.4363, allocations: 25.16 kB / 0.5494 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4365, allocations: 36.75 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.4365, allocations: 4.312 kB / 0.5494 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.4366, allocations: 49.91 kB / 0.5495 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.4367, allocations: 20.33 kB / 0.5495 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.4367, allocations: 17.31 kB / 0.5495 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.437, allocations: 105.5 kB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.437, allocations: 0 / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.437, allocations: 0 / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.437, allocations: 5.438 kB / 0.5496 GB, free: 10.72 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.000588/0.4376, allocations: 383.1 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4376, allocations: 8.438 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/0.4377, allocations: 13.27 kB / 0.55 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4379, allocations: 190.7 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4379, allocations: 1.438 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.438, allocations: 6.625 kB / 0.5502 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4382, allocations: 73.52 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4382, allocations: 0 / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4382, allocations: 1.094 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4382, allocations: 5.125 kB / 0.5503 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4383, allocations: 35.69 kB / 0.5503 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.4388, allocations: 285.6 kB / 0.5506 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.4389, allocations: 37.62 kB / 0.5506 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.764e-05/0.439, allocations: 27.03 kB / 0.5506 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.439, allocations: 5.188 kB / 0.5506 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.4391, allocations: 35.88 kB / 0.5507 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4391, allocations: 0 / 0.5507 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008147/0.4399, allocations: 207.4 kB / 0.5509 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.4399, allocations: 79.33 kB / 0.5509 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4401, allocations: 138.6 kB / 0.5511 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.4401, allocations: 25.7 kB / 0.5511 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.4402, allocations: 99.98 kB / 0.5512 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.4403, allocations: 22.55 kB / 0.5512 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.4403, allocations: 23.34 kB / 0.5512 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4405, allocations: 316 kB / 0.5515 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.4407, allocations: 41.97 kB / 0.5516 GB, free: 8.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.4408, allocations: 55.47 kB / 0.5516 GB, free: 8.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.441, allocations: 72.34 kB / 0.5517 GB, free: 8.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.441, allocations: 4.031 kB / 0.5517 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.4413, allocations: 109.4 kB / 0.5518 GB, free: 8.613 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4413, allocations: 5.625 kB / 0.5518 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.4413, allocations: 0 / 0.5518 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4413, allocations: 0 / 0.5518 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4415, allocations: 22.8 kB / 0.5518 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4415, allocations: 5.297 kB / 0.5518 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.4415, allocations: 13.62 kB / 0.5519 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.4416, allocations: 1.344 kB / 0.5519 GB, free: 8.594 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.0001203/0.4417, allocations: 119.7 kB / 0.552 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.4417, allocations: 7.328 kB / 0.552 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.4421, allocations: 121.8 kB / 0.5521 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4421, allocations: 1.125 kB / 0.5521 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4421, allocations: 4 kB / 0.5521 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.4421, allocations: 4.812 kB / 0.5521 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.4427, allocations: 385.6 kB / 0.5525 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4427, allocations: 0 / 0.5525 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.4428, allocations: 18.23 kB / 0.5525 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4428, allocations: 1.062 kB / 0.5525 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.4428, allocations: 9.031 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4428, allocations: 0 / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4428, allocations: 1.031 kB / 0.5525 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.4432, allocations: 209.3 kB / 0.5527 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.4432, allocations: 83.31 kB / 0.5528 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.4432, allocations: 5.062 kB / 0.5528 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.4433, allocations: 17.02 kB / 0.5528 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.4434, allocations: 3.5 kB / 0.5528 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.4434, allocations: 6.094 kB / 0.5528 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.4435, allocations: 105.5 kB / 0.5529 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4435, allocations: 3.938 kB / 0.5529 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.4438, allocations: 26.31 kB / 0.5529 GB, free: 7.609 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.001705/0.4455, allocations: 451.5 kB / 0.5534 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.4458, allocations: 76.86 kB / 0.5534 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.4458, allocations: 1.469 kB / 0.5534 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4459, allocations: 46.78 kB / 0.5535 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.4464, allocations: 19.09 kB / 0.5535 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.4469, allocations: 189.2 kB / 0.5537 GB, free: 7.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4474, allocations: 0.6994 MB / 0.5544 GB, free: 6.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.4474, allocations: 17.84 kB / 0.5544 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.4475, allocations: 18.42 kB / 0.5544 GB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4475, allocations: 0 / 0.5544 GB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.005313/0.4528, allocations: 1.514 MB / 0.5559 GB, free: 5.648 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.503795580007136]