Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001198/0.001198, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001421/0.001421, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2306/0.2306, allocations: 44.9 MB / 359.6 MB, free: 6.312 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",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.001985/0.001985, allocations: 68.19 kB / 0.4939 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 65.47 MB / 0.5578 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003232/0.3613, allocations: 1.616 MB / 0.5594 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3634, allocations: 1.275 MB / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3635, allocations: 0 / 0.5606 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.3637, allocations: 27.83 kB / 0.5607 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.364, allocations: 79.64 kB / 0.5607 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3643, allocations: 119.7 kB / 0.5608 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001679/0.3644, allocations: 71.75 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.3645, allocations: 13.83 kB / 0.5609 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.3646, allocations: 19.92 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3647, allocations: 35.84 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3647, allocations: 4 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.3649, allocations: 103.9 kB / 0.5611 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.3649, allocations: 11.94 kB / 0.5611 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.365, allocations: 23.86 kB / 0.5611 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3652, allocations: 143.5 kB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3652, allocations: 4 kB / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3652, allocations: 0 / 0.5613 GB, free: 4.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.3652, allocations: 0 / 0.5613 GB, free: 4.27 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.0004968/0.3657, allocations: 333.6 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3658, allocations: 8.031 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.38e-05/0.3658, allocations: 192 / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.3659, allocations: 34.75 kB / 0.5616 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3659, allocations: 8.891 kB / 0.5616 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3661, allocations: 141 kB / 0.5618 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3662, allocations: 4.375 kB / 0.5618 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3662, allocations: 12.12 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3663, allocations: 55.41 kB / 0.5618 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3663, allocations: 3.938 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3664, allocations: 4 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3664, allocations: 0 / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.439e-05/0.3664, allocations: 27.97 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.3668, allocations: 260 kB / 0.5621 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.367, allocations: 42.5 kB / 0.5621 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.3671, allocations: 20.94 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3671, allocations: 0 / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3671, allocations: 34.56 kB / 0.5622 GB, free: 3.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.3671, allocations: 0 / 0.5622 GB, free: 3.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005735/0.3677, allocations: 149.4 kB / 0.5623 GB, free: 3.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.3678, allocations: 85.05 kB / 0.5624 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3679, allocations: 145.8 kB / 0.5626 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.368, allocations: 25.7 kB / 0.5626 GB, free: 2.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.368, allocations: 104.1 kB / 0.5627 GB, free: 2.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.368, allocations: 15.86 kB / 0.5627 GB, free: 2.605 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/0.3681, allocations: 17.7 kB / 0.5627 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3682, allocations: 318.8 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.3683, allocations: 19.98 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.3684, allocations: 41.69 kB / 0.5631 GB, free: 2.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.3685, allocations: 52.86 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3685, allocations: 0 / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.3687, allocations: 93.73 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3688, allocations: 4 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3688, allocations: 3.938 kB / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3688, allocations: 0 / 0.5632 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.3688, allocations: 15.98 kB / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3689, allocations: 0 / 0.5632 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.379e-05/0.3689, allocations: 15.94 kB / 0.5633 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3689, allocations: 0 / 0.5633 GB, free: 2.004 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 9.205e-05/0.369, allocations: 113.8 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.369, allocations: 7.953 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.3693, allocations: 102.3 kB / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3693, allocations: 0 / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3693, allocations: 0 / 0.5635 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3693, allocations: 11.92 kB / 0.5635 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3698, allocations: 321.6 kB / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3698, allocations: 0 / 0.5638 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.3698, allocations: 19.92 kB / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3699, allocations: 0 / 0.5638 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3699, allocations: 7.938 kB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3699, allocations: 0 / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3699, allocations: 4 kB / 0.5638 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3701, allocations: 179.5 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.3701, allocations: 7.953 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3702, allocations: 4.188 kB / 0.564 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.3702, allocations: 15.98 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3703, allocations: 0 / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.3703, allocations: 4 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.3704, allocations: 121.6 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.3707, allocations: 39.86 kB / 0.5642 GB, free: 0.9727 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.002286/0.373, allocations: 1.113 MB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3733, allocations: 55.95 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3733, allocations: 0 / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.3733, allocations: 27.92 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3737, allocations: 23.55 kB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3756, allocations: 1.446 MB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.376, allocations: 0.7001 MB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.3761, allocations: 27.91 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3762, allocations: 27.42 kB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3762, allocations: 0 / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.4033, allocations: 3.43 MB / 0.5709 GB, free: 10.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.84, allocations: 10.41 kB / 0.5709 GB, free: 10.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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: 14.934240052010864]