Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.002013/0.002013, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002418/0.002418, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.512/1.512, 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.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.2183/0.2183, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",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.002165/0.002165, allocations: 59.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3464, allocations: 65.48 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003164/0.3495, allocations: 1.719 MB / 0.5587 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3513, allocations: 0.9676 MB / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.3514, allocations: 0 / 0.5596 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.3517, allocations: 43.77 kB / 0.5597 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.3522, allocations: 95.53 kB / 0.5598 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.3524, allocations: 79.67 kB / 0.5599 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3526, allocations: 111.7 kB / 0.56 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3527, allocations: 9.828 kB / 0.56 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.3528, allocations: 39.8 kB / 0.56 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.3528, allocations: 31.83 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3529, allocations: 8 kB / 0.56 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.353, allocations: 43.92 kB / 0.5601 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.353, allocations: 23.86 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.3531, allocations: 23.86 kB / 0.5601 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.3533, allocations: 127.4 kB / 0.5603 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3533, allocations: 0 / 0.5603 GB, free: 4.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.96e-06/0.3533, allocations: 4 kB / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3534, allocations: 0 / 0.5603 GB, free: 4.199 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000619/0.354, allocations: 345.6 kB / 0.5606 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.354, allocations: 12.03 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.3541, allocations: 38.69 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3541, allocations: 8.891 kB / 0.5606 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.3544, allocations: 147 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3544, allocations: 384 / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.3544, allocations: 11.94 kB / 0.5608 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.3546, allocations: 57.67 kB / 0.5609 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3546, allocations: 0 / 0.5609 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3546, allocations: 4 kB / 0.5609 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3546, allocations: 4 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.464e-05/0.3547, allocations: 27.91 kB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.3551, allocations: 259.9 kB / 0.5611 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3553, allocations: 58.67 kB / 0.5612 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.3554, allocations: 20.8 kB / 0.5612 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3554, allocations: 0 / 0.5612 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.3555, allocations: 75.31 kB / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3555, allocations: 0 / 0.5613 GB, free: 3.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.3561, allocations: 181.3 kB / 0.5615 GB, free: 2.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3561, allocations: 55.41 kB / 0.5615 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3563, allocations: 198.2 kB / 0.5617 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3564, allocations: 33.7 kB / 0.5617 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3564, allocations: 104.1 kB / 0.5618 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.3565, allocations: 27.73 kB / 0.5619 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.3565, allocations: 29.7 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3567, allocations: 322.8 kB / 0.5622 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.3567, allocations: 19.98 kB / 0.5622 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.994e-05/0.3568, allocations: 41.7 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3569, allocations: 65.64 kB / 0.5623 GB, free: 1.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3569, allocations: 0 / 0.5623 GB, free: 1.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.3571, allocations: 101.6 kB / 0.5624 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.3571, allocations: 4 kB / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3571, allocations: 0 / 0.5624 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3572, allocations: 4 kB / 0.5624 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.3572, allocations: 19.92 kB / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3573, allocations: 0 / 0.5624 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.3573, allocations: 15.97 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3573, allocations: 0 / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001074/0.3574, allocations: 125.8 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3574, allocations: 11.91 kB / 0.5626 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3577, allocations: 127.1 kB / 0.5627 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3577, allocations: 4.375 kB / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3577, allocations: 0 / 0.5627 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3577, allocations: 3.938 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.3582, allocations: 370.4 kB / 0.5631 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3582, allocations: 4.031 kB / 0.5631 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.3582, allocations: 11.98 kB / 0.5631 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3582, allocations: 3.938 kB / 0.5631 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3583, allocations: 8 kB / 0.5631 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3583, allocations: 3.938 kB / 0.5631 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3583, allocations: 7.922 kB / 0.5631 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3585, allocations: 216.5 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.3585, allocations: 11.94 kB / 0.5633 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3586, allocations: 11.94 kB / 0.5633 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.3587, allocations: 0 / 0.5633 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.3587, allocations: 11.98 kB / 0.5633 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.3587, allocations: 4 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.3588, allocations: 148.2 kB / 0.5635 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3588, allocations: 0 / 0.5635 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3591, allocations: 27.94 kB / 0.5635 GB, free: 0.5586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002399/0.3615, allocations: 1.142 MB / 0.5646 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3617, allocations: 55.91 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3617, allocations: 4 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/0.3618, allocations: 31.92 kB / 0.5647 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3621, allocations: 24.42 kB / 0.5647 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3641, allocations: 1.686 MB / 0.5664 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.3642, allocations: 96.19 kB / 0.5665 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.21e-05/0.3642, allocations: 16.95 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.3643, allocations: 35.42 kB / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3643, allocations: 0 / 0.5665 GB, free: 13.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3934, allocations: 4.138 MB / 0.5706 GB, free: 9.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.66, allocations: 18.61 kB / 0.5706 GB, free: 9.465 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.829061191994697]