Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001931/0.001931, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002186/0.002186, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2122/0.2122, allocations: 44.93 MB / 358.8 MB, free: 6.059 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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.003296/0.003296, allocations: 73.45 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.339, allocations: 65.47 MB / 0.557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003712/0.3427, allocations: 1.793 MB / 0.5588 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.3455, allocations: 1.727 MB / 0.5605 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.904e-05/0.3456, allocations: 3.938 kB / 0.5605 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.3459, allocations: 55.69 kB / 0.5605 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.3463, allocations: 143.4 kB / 0.5607 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3466, allocations: 103.6 kB / 0.5608 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.3469, allocations: 207.3 kB / 0.561 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.3469, allocations: 9.812 kB / 0.561 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3471, allocations: 91.62 kB / 0.5611 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.3472, allocations: 75.55 kB / 0.5611 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3473, allocations: 12 kB / 0.5611 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3475, allocations: 111.9 kB / 0.5612 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.3476, allocations: 35.91 kB / 0.5613 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.3476, allocations: 47.66 kB / 0.5613 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003901/0.348, allocations: 232.9 kB / 0.5615 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.348, allocations: 0 / 0.5615 GB, free: 2.891 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.348, allocations: 0 / 0.5615 GB, free: 2.891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.348, allocations: 0 / 0.5615 GB, free: 2.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007665/0.3488, allocations: 436.9 kB / 0.562 GB, free: 2.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3488, allocations: 12.03 kB / 0.562 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3489, allocations: 30.75 kB / 0.562 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.349, allocations: 16.84 kB / 0.562 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3493, allocations: 198 kB / 0.5622 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3493, allocations: 4.359 kB / 0.5622 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3494, allocations: 7.938 kB / 0.5622 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.3496, allocations: 148.5 kB / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3496, allocations: 4 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3497, allocations: 4 kB / 0.5624 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3497, allocations: 4 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3498, allocations: 39.91 kB / 0.5624 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.35, allocations: 177.7 kB / 0.5626 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.3503, allocations: 109.1 kB / 0.5627 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.725e-05/0.3504, allocations: 37.7 kB / 0.5627 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3504, allocations: 0 / 0.5627 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.3507, allocations: 124.9 kB / 0.5628 GB, free: 1.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3507, allocations: 0 / 0.5628 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005073/0.3512, allocations: 169.5 kB / 0.563 GB, free: 1.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3513, allocations: 140.5 kB / 0.5631 GB, free: 1.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.3516, allocations: 244.1 kB / 0.5634 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3516, allocations: 29.7 kB / 0.5634 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.3517, allocations: 116.1 kB / 0.5635 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.3518, allocations: 35.72 kB / 0.5635 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.3518, allocations: 33.7 kB / 0.5636 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.352, allocations: 334.8 kB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.3521, allocations: 27.98 kB / 0.5639 GB, free: 208 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.3522, allocations: 128.5 kB / 0.564 GB, free: 48 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3524, allocations: 95.84 kB / 0.5641 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3524, allocations: 7.938 kB / 0.5641 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002823/0.3527, allocations: 137.5 kB / 0.5643 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3527, allocations: 12.09 kB / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3527, allocations: 0 / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3527, allocations: 0 / 0.5643 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3529, allocations: 27.92 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3529, allocations: 0 / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.353, allocations: 15.95 kB / 0.5643 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.353, allocations: 4 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001357/0.3531, allocations: 130.3 kB / 0.5644 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3532, allocations: 19.91 kB / 0.5645 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.3535, allocations: 166.7 kB / 0.5646 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3535, allocations: 0 / 0.5646 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3535, allocations: 0 / 0.5646 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3535, allocations: 0 / 0.5646 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3537, allocations: 196.5 kB / 0.5648 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3537, allocations: 3.984 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.3538, allocations: 8 kB / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3538, allocations: 256 / 0.5648 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3538, allocations: 8 kB / 0.5648 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3538, allocations: 4 kB / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3538, allocations: 0 / 0.5648 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3541, allocations: 189.7 kB / 0.565 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.3542, allocations: 27.84 kB / 0.565 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3542, allocations: 7.938 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.3543, allocations: 3.938 kB / 0.5651 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3543, allocations: 15.98 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3543, allocations: 7.984 kB / 0.5651 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3545, allocations: 177.8 kB / 0.5652 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 0.5652 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.3548, allocations: 59.86 kB / 0.5653 GB, free: 14.64 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002461/0.3573, allocations: 1.159 MB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3576, allocations: 79.84 kB / 0.5665 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3576, allocations: 3.938 kB / 0.5665 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3577, allocations: 43.97 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3581, allocations: 65.41 kB / 0.5666 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3605, allocations: 1.916 MB / 0.5685 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.3605, allocations: 103.5 kB / 0.5686 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.3607, allocations: 33.45 kB / 0.5686 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3608, allocations: 67.34 kB / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3608, allocations: 0 / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/0.3941, allocations: 6.22 MB / 0.5748 GB, free: 5.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.84, allocations: 7.094 kB / 0.5748 GB, free: 5.098 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.953962709754705]