Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001432/0.001432, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001716/0.001716, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 67.84 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.368, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003373/0.3713, allocations: 1.646 MB / 0.5627 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3725, allocations: 0.7634 MB / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.3725, allocations: 0 / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3727, allocations: 31.84 kB / 0.5635 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.373, allocations: 39.83 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.349e-06/0.373, allocations: 0 / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3731, allocations: 39.83 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3732, allocations: 4 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.438e-05/0.3732, allocations: 11.92 kB / 0.5636 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.3733, allocations: 7.938 kB / 0.5636 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3733, allocations: 8 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.602e-05/0.3733, allocations: 11.98 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.3734, allocations: 12.91 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.3734, allocations: 19.88 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3736, allocations: 70 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3736, allocations: 7.984 kB / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3736, allocations: 0 / 0.5637 GB, free: 1.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3736, allocations: 0 / 0.5637 GB, free: 1.492 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004255/0.374, allocations: 294 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3741, allocations: 8.031 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3741, allocations: 12.89 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.3743, allocations: 122.4 kB / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3743, allocations: 384 / 0.5641 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.3743, allocations: 8.359 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3745, allocations: 123.3 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3745, allocations: 192 / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3745, allocations: 3.938 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.3746, allocations: 23.98 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/0.3747, allocations: 43.91 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.3754, allocations: 0.8317 MB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3755, allocations: 169.2 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.3756, allocations: 88.08 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.3756, allocations: 79.27 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.953e-05/0.3757, allocations: 113.8 kB / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.3757, allocations: 0 / 0.5655 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 9.175e-05/0.3758, allocations: 37.61 kB / 0.5656 GB, free: 15.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.3759, allocations: 126.7 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3762, allocations: 190.1 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3762, allocations: 25.7 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3763, allocations: 159.5 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.3763, allocations: 0 / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.3764, allocations: 45.66 kB / 0.5661 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3765, allocations: 322.8 kB / 0.5664 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.3766, allocations: 39.91 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3768, allocations: 153.2 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.3771, allocations: 200.9 kB / 0.5668 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3771, allocations: 7.938 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000368/0.3774, allocations: 193.7 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3775, allocations: 16 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.3775, allocations: 4 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3775, allocations: 8 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3776, allocations: 39.91 kB / 0.567 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.3776, allocations: 7.938 kB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.94e-05/0.3777, allocations: 23.84 kB / 0.5671 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.3777, allocations: 12 kB / 0.5671 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002637/0.378, allocations: 213 kB / 0.5673 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.3781, allocations: 116.9 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.3783, allocations: 120.5 kB / 0.5675 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.3784, allocations: 184.2 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.467e-05/0.3785, allocations: 176.4 kB / 0.5679 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/0.3786, allocations: 192.2 kB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.3789, allocations: 372.8 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.682e-05/0.379, allocations: 108.9 kB / 0.5685 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.379, allocations: 101 kB / 0.5686 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.3791, allocations: 184.3 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.3792, allocations: 184.1 kB / 0.569 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.241e-05/0.3793, allocations: 176.3 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-05/0.3794, allocations: 188.2 kB / 0.5693 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3796, allocations: 311.7 kB / 0.5696 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.663e-05/0.3797, allocations: 116.9 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.3798, allocations: 184.2 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.3799, allocations: 108.9 kB / 0.57 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.38, allocations: 180.3 kB / 0.5702 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.38, allocations: 101 kB / 0.5703 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.3802, allocations: 132 kB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 0 / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3805, allocations: 19.94 kB / 0.5704 GB, free: 10.09 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0008186/0.3813, allocations: 284 kB / 0.5707 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001709/0.3815, allocations: 75.78 kB / 0.5707 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.3815, allocations: 0 / 0.5707 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3815, allocations: 0 / 0.5707 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.382, allocations: 459.7 kB / 0.5712 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.3824, allocations: 258.2 kB / 0.5714 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.3825, allocations: 87.5 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.3827, allocations: 45.03 kB / 0.5716 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.3828, allocations: 23.42 kB / 0.5716 GB, free: 8.879 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3828, allocations: 0 / 0.5716 GB, free: 8.879 MB / 414.1 MB Notification: Performance of Templates: time 0.003376/0.3861, allocations: 0.7456 MB / 0.5723 GB, free: 8.148 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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.2788302935659885]