Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.002207/0.002207, allocations: 105.5 kB / 19.81 MB, free: 2.516 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.002715/0.002715, allocations: 194.5 kB / 22.98 MB, free: 5.617 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.508/1.508, allocations: 225.6 MB / 251.6 MB, free: 13.35 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.2391/0.2391, allocations: 44.9 MB / 351.6 MB, free: 12.24 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.91 kB / 495.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4073, allocations: 64.24 MB / 0.5464 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003428/0.4108, allocations: 1.6 MB / 0.548 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.4118, allocations: 444.3 kB / 0.5484 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.4118, allocations: 1.469 kB / 0.5484 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006782/0.4125, allocations: 448.8 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.4129, allocations: 258.1 kB / 0.5491 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.4134, allocations: 164.3 kB / 0.5492 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.4137, allocations: 166.8 kB / 0.5494 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.4138, allocations: 11.98 kB / 0.5494 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4139, allocations: 108.8 kB / 0.5495 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.4142, allocations: 238.7 kB / 0.5497 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.4142, allocations: 2.156 kB / 0.5497 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.804e-05/0.4143, allocations: 30.14 kB / 0.5497 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.4144, allocations: 78.39 kB / 0.5498 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.4145, allocations: 102.3 kB / 0.5499 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.4149, allocations: 237.9 kB / 0.5501 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4149, allocations: 9.062 kB / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4149, allocations: 0 / 0.5502 GB, free: 10.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.4149, allocations: 0 / 0.5502 GB, free: 10.89 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.0009679/0.4159, allocations: 0.6355 MB / 0.5508 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.4159, allocations: 8.781 kB / 0.5508 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.416, allocations: 43.47 kB / 0.5508 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.4164, allocations: 309.1 kB / 0.5511 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4164, allocations: 1.438 kB / 0.5511 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4164, allocations: 2.562 kB / 0.5511 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4166, allocations: 60.56 kB / 0.5512 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4166, allocations: 0 / 0.5512 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4167, allocations: 1.031 kB / 0.5512 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4167, allocations: 0.9375 kB / 0.5512 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.856e-05/0.4168, allocations: 21.52 kB / 0.5512 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.4174, allocations: 388.3 kB / 0.5516 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4175, allocations: 36.25 kB / 0.5516 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.4176, allocations: 15.16 kB / 0.5516 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4176, allocations: 0 / 0.5516 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4176, allocations: 31.59 kB / 0.5517 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.4176, allocations: 0.875 kB / 0.5517 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003391/0.418, allocations: 106.8 kB / 0.5518 GB, free: 9.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.418, allocations: 56.62 kB / 0.5518 GB, free: 9.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.4191, allocations: 0.8612 MB / 0.5526 GB, free: 8.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.4192, allocations: 26.98 kB / 0.5527 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.4194, allocations: 216.7 kB / 0.5529 GB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.4194, allocations: 9.328 kB / 0.5529 GB, free: 8.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.4195, allocations: 12.47 kB / 0.5529 GB, free: 8.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4197, allocations: 363.3 kB / 0.5532 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.904e-05/0.4197, allocations: 13.66 kB / 0.5533 GB, free: 8.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.706e-05/0.4198, allocations: 10.7 kB / 0.5533 GB, free: 8.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.4198, allocations: 25.28 kB / 0.5533 GB, free: 8.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4198, allocations: 1.312 kB / 0.5533 GB, free: 8.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001926/0.42, allocations: 98.09 kB / 0.5534 GB, free: 8.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.42, allocations: 9.344 kB / 0.5534 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.4201, allocations: 0 / 0.5534 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.4201, allocations: 9.141 kB / 0.5534 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.261e-05/0.4201, allocations: 4.375 kB / 0.5534 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4202, allocations: 0 / 0.5534 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.4202, allocations: 6.203 kB / 0.5534 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4202, allocations: 1.094 kB / 0.5534 GB, free: 8.191 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 (2): * Single equations (assignments): 2 * 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.0002022/0.4204, allocations: 213.2 kB / 0.5536 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.939e-05/0.4205, allocations: 41.84 kB / 0.5537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.4207, allocations: 120.8 kB / 0.5538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4207, allocations: 0 / 0.5538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4207, allocations: 1.25 kB / 0.5538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4207, allocations: 0 / 0.5538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.4211, allocations: 282.4 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4211, allocations: 0.9688 kB / 0.554 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.4211, allocations: 8.172 kB / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4211, allocations: 0 / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.4211, allocations: 0.875 kB / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4211, allocations: 0 / 0.5541 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4211, allocations: 4.719 kB / 0.5541 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.4213, allocations: 193.4 kB / 0.5542 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.703e-05/0.4214, allocations: 114 kB / 0.5544 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.4214, allocations: 1.375 kB / 0.5544 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.4215, allocations: 1.312 kB / 0.5544 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.4215, allocations: 5.281 kB / 0.5544 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.4215, allocations: 1.094 kB / 0.5544 GB, free: 7.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.4222, allocations: 0.6564 MB / 0.555 GB, free: 6.852 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4222, allocations: 0 / 0.555 GB, free: 6.852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.4225, allocations: 23.94 kB / 0.555 GB, free: 6.828 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 (2): * Single equations (assignments): 2 * 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.001345/0.4238, allocations: 343.1 kB / 0.5554 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.424, allocations: 27.92 kB / 0.5554 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.424, allocations: 0 / 0.5554 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.424, allocations: 8 kB / 0.5554 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.4245, allocations: 25.41 kB / 0.5554 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.4257, allocations: 0.7821 MB / 0.5562 GB, free: 5.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.4263, allocations: 0.8259 MB / 0.557 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.4264, allocations: 19.91 kB / 0.557 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.4264, allocations: 15.44 kB / 0.557 GB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4264, allocations: 0 / 0.557 GB, free: 4.867 MB / 398.1 MB Notification: Performance of Templates: time 0.005715/0.4322, allocations: 1.291 MB / 0.5583 GB, free: 3.582 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.462574841454625]