Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001698/0.001698, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002115/0.002115, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2417/0.2417, allocations: 44.92 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] 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.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.CombiTable1Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 71.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3627, allocations: 65.47 MB / 0.5583 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003273/0.366, allocations: 1.609 MB / 0.5598 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.3671, allocations: 0.5465 MB / 0.5604 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.3672, allocations: 7.938 kB / 0.5604 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.3674, allocations: 31.8 kB / 0.5604 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.3677, allocations: 79.67 kB / 0.5605 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.368, allocations: 87.69 kB / 0.5606 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3682, allocations: 63.84 kB / 0.5606 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3683, allocations: 11.98 kB / 0.5606 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.3683, allocations: 19.88 kB / 0.5607 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.3684, allocations: 31.84 kB / 0.5607 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3684, allocations: 4 kB / 0.5607 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.3685, allocations: 39.92 kB / 0.5607 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3686, allocations: 15.92 kB / 0.5607 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.3686, allocations: 19.81 kB / 0.5608 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.3688, allocations: 89.98 kB / 0.5609 GB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3688, allocations: 0 / 0.5609 GB, free: 5.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.3688, allocations: 3.984 kB / 0.5609 GB, free: 5.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.3688, allocations: 0 / 0.5609 GB, free: 5.047 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.0005926/0.3694, allocations: 321.8 kB / 0.5612 GB, free: 4.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3695, allocations: 8.031 kB / 0.5612 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.3695, allocations: 12.84 kB / 0.5612 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3697, allocations: 142.9 kB / 0.5613 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3697, allocations: 384 / 0.5613 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.3698, allocations: 11.92 kB / 0.5613 GB, free: 4.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3699, allocations: 45.69 kB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3699, allocations: 3.984 kB / 0.5614 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.37, allocations: 4 kB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.37, allocations: 0 / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.704e-05/0.3701, allocations: 23.98 kB / 0.5614 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.3704, allocations: 247.9 kB / 0.5616 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3707, allocations: 38.56 kB / 0.5617 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.3707, allocations: 20.94 kB / 0.5617 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.3707, allocations: 3.938 kB / 0.5617 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.3708, allocations: 34.56 kB / 0.5617 GB, free: 4.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3708, allocations: 0 / 0.5617 GB, free: 4.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005458/0.3713, allocations: 141.4 kB / 0.5619 GB, free: 3.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3714, allocations: 55.41 kB / 0.5619 GB, free: 3.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3716, allocations: 182.1 kB / 0.5621 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3716, allocations: 33.7 kB / 0.5621 GB, free: 3.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.3717, allocations: 92.14 kB / 0.5622 GB, free: 3.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.3717, allocations: 23.83 kB / 0.5622 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.3717, allocations: 17.72 kB / 0.5623 GB, free: 3.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002285/0.372, allocations: 318.8 kB / 0.5626 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.372, allocations: 19.92 kB / 0.5626 GB, free: 3.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.3721, allocations: 23.92 kB / 0.5626 GB, free: 3.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3722, allocations: 52.83 kB / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3722, allocations: 0 / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000196/0.3724, allocations: 77.58 kB / 0.5627 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3724, allocations: 8 kB / 0.5627 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3724, allocations: 256 / 0.5627 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3725, allocations: 0 / 0.5627 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.3725, allocations: 15.98 kB / 0.5627 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.3725, allocations: 7.938 kB / 0.5628 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.3726, allocations: 7.938 kB / 0.5628 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3726, allocations: 8 kB / 0.5628 GB, free: 2.895 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 0.0001189/0.3727, allocations: 117.8 kB / 0.5629 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3727, allocations: 7.953 kB / 0.5629 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.373, allocations: 94.05 kB / 0.563 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.373, allocations: 0 / 0.563 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.373, allocations: 4 kB / 0.563 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.373, allocations: 3.938 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.3734, allocations: 325.6 kB / 0.5633 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3735, allocations: 0 / 0.5633 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.3735, allocations: 11.98 kB / 0.5633 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3735, allocations: 0 / 0.5633 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3735, allocations: 3.938 kB / 0.5633 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.3735, allocations: 4 kB / 0.5633 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3735, allocations: 3.938 kB / 0.5633 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3738, allocations: 183.4 kB / 0.5635 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.3738, allocations: 15.89 kB / 0.5635 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.3738, allocations: 3.938 kB / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.855e-05/0.3739, allocations: 4 kB / 0.5635 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.3739, allocations: 4.266 kB / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3739, allocations: 0 / 0.5635 GB, free: 2.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001167/0.374, allocations: 139.2 kB / 0.5637 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.374, allocations: 0 / 0.5637 GB, free: 1.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.3743, allocations: 19.94 kB / 0.5637 GB, free: 1.879 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.001523/0.3758, allocations: 409 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.376, allocations: 39.97 kB / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.376, allocations: 0 / 0.5641 GB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.3761, allocations: 35.91 kB / 0.5641 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3764, allocations: 12 kB / 0.5641 GB, free: 1.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.3769, allocations: 223.6 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3772, allocations: 0.7002 MB / 0.565 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.3773, allocations: 15.44 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3773, allocations: 7.938 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of Templates: time 0.003627/0.3809, allocations: 1.471 MB / 0.5665 GB, free: 15.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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: 7.797418107977137]