Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001985/0.001985, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001905/0.001905, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2332/0.2332, allocations: 44.94 MB / 359.6 MB, free: 6.051 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.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) [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.001994/0.001994, allocations: 71.89 kB / 0.4938 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003513/0.3399, allocations: 1.669 MB / 0.5594 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3411, allocations: 0.5544 MB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.3412, allocations: 7.938 kB / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.3415, allocations: 47.8 kB / 0.56 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.3418, allocations: 91.61 kB / 0.5601 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.3422, allocations: 183.1 kB / 0.5602 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3424, allocations: 87.81 kB / 0.5603 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3425, allocations: 21.98 kB / 0.5603 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3427, allocations: 35.84 kB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3428, allocations: 51.77 kB / 0.5604 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.3428, allocations: 8 kB / 0.5604 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3429, allocations: 47.97 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.343, allocations: 19.92 kB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.845e-05/0.343, allocations: 27.81 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3432, allocations: 123.4 kB / 0.5606 GB, free: 4.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3433, allocations: 4 kB / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3433, allocations: 0 / 0.5606 GB, free: 4.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3433, allocations: 0 / 0.5606 GB, free: 4.562 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000601/0.3439, allocations: 349.5 kB / 0.561 GB, free: 4.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.3439, allocations: 12.03 kB / 0.561 GB, free: 4.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.3439, allocations: 4.188 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/0.344, allocations: 34.75 kB / 0.561 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.3441, allocations: 24.83 kB / 0.5611 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3443, allocations: 138.3 kB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.3443, allocations: 8.312 kB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.338e-05/0.3443, allocations: 12.11 kB / 0.5612 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.3445, allocations: 61.67 kB / 0.5613 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3445, allocations: 3.984 kB / 0.5613 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3446, allocations: 4 kB / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3446, allocations: 0 / 0.5613 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3447, allocations: 47.95 kB / 0.5613 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.3452, allocations: 291.8 kB / 0.5616 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3455, allocations: 54.55 kB / 0.5616 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/0.3456, allocations: 24.97 kB / 0.5617 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.3456, allocations: 4.031 kB / 0.5617 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3456, allocations: 38.5 kB / 0.5617 GB, free: 3.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3456, allocations: 4 kB / 0.5617 GB, free: 3.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001594/0.3472, allocations: 428.9 kB / 0.5621 GB, free: 2.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.3473, allocations: 51.41 kB / 0.5622 GB, free: 2.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.3475, allocations: 186.2 kB / 0.5624 GB, free: 2.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3475, allocations: 25.7 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.3476, allocations: 96.14 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.3477, allocations: 51.58 kB / 0.5625 GB, free: 2.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.3477, allocations: 25.7 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3479, allocations: 322.8 kB / 0.5628 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.3481, allocations: 55.97 kB / 0.5629 GB, free: 2.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.3482, allocations: 51.95 kB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.3485, allocations: 128.7 kB / 0.5631 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3485, allocations: 4 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003681/0.3489, allocations: 166.1 kB / 0.5632 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3489, allocations: 4 kB / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3489, allocations: 0 / 0.5632 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3489, allocations: 3.938 kB / 0.5632 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.349, allocations: 27.97 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.349, allocations: 0 / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.3491, allocations: 16 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3491, allocations: 11.94 kB / 0.5633 GB, free: 1.648 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 (11): * Single equations (assignments): 11 * 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.0001296/0.3492, allocations: 125.8 kB / 0.5634 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.3493, allocations: 15.91 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000466/0.3498, allocations: 194.2 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3498, allocations: 0 / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3498, allocations: 4 kB / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3498, allocations: 0 / 0.5636 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.3505, allocations: 471 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3505, allocations: 0 / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3506, allocations: 31.91 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3506, allocations: 0 / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3507, allocations: 8.062 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3507, allocations: 4 kB / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3507, allocations: 0 / 0.5641 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.3511, allocations: 277.6 kB / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3511, allocations: 11.91 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3512, allocations: 4 kB / 0.5644 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3513, allocations: 11.98 kB / 0.5644 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3513, allocations: 11.92 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3513, allocations: 8 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.3514, allocations: 148 kB / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3514, allocations: 0 / 0.5646 GB, free: 260 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3517, allocations: 27.94 kB / 0.5646 GB, free: 232 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002561/0.3543, allocations: 1.189 MB / 0.5658 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3546, allocations: 127.8 kB / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3546, allocations: 0 / 0.5659 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3548, allocations: 67.89 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.3552, allocations: 24.61 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3578, allocations: 1.908 MB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.3579, allocations: 100.7 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.358, allocations: 40.45 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/0.3581, allocations: 43.41 kB / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3581, allocations: 0 / 0.568 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.3838, allocations: 3.692 MB / 0.5716 GB, free: 9.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 13.72 kB / 0.5716 GB, free: 9.168 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 15.174509935081005]