Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.00173/0.00173, 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.002346/0.002346, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.22/0.22, allocations: 44.94 MB / 358.8 MB, free: 6.082 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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.002315/0.002315, allocations: 63.91 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3425, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003373/0.3459, allocations: 1.725 MB / 0.5587 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3477, allocations: 0.9676 MB / 0.5597 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.3478, allocations: 3.938 kB / 0.5597 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.3481, allocations: 43.77 kB / 0.5597 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.3484, allocations: 95.55 kB / 0.5598 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.3486, allocations: 83.66 kB / 0.5599 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3487, allocations: 95.77 kB / 0.56 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3489, allocations: 13.8 kB / 0.56 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.3489, allocations: 43.73 kB / 0.56 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.349, allocations: 27.86 kB / 0.56 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.349, allocations: 4 kB / 0.56 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3491, allocations: 51.91 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.514e-05/0.3492, allocations: 19.92 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.3493, allocations: 31.8 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3495, allocations: 115.5 kB / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3495, allocations: 0 / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3495, allocations: 0 / 0.5603 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3495, allocations: 4 kB / 0.5603 GB, free: 4.223 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.0005548/0.35, allocations: 337.6 kB / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3501, allocations: 8.031 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.3501, allocations: 38.69 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3502, allocations: 20.78 kB / 0.5606 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3504, allocations: 150.3 kB / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3505, allocations: 384 / 0.5608 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3505, allocations: 7.938 kB / 0.5608 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3506, allocations: 53.67 kB / 0.5608 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3506, allocations: 3.984 kB / 0.5609 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.3506, allocations: 0 / 0.5609 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3506, allocations: 0 / 0.5609 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.3507, allocations: 19.98 kB / 0.5609 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.3511, allocations: 255.9 kB / 0.5611 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3513, allocations: 62.67 kB / 0.5612 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.671e-05/0.3514, allocations: 16.86 kB / 0.5612 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3514, allocations: 0 / 0.5612 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3515, allocations: 79.31 kB / 0.5613 GB, free: 3.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3515, allocations: 0 / 0.5613 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005845/0.3521, allocations: 189.3 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3522, allocations: 51.41 kB / 0.5615 GB, free: 2.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3524, allocations: 191.2 kB / 0.5617 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3524, allocations: 29.7 kB / 0.5617 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.3525, allocations: 104.1 kB / 0.5618 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.3525, allocations: 23.84 kB / 0.5618 GB, free: 2.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3525, allocations: 21.72 kB / 0.5618 GB, free: 2.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3527, allocations: 330.8 kB / 0.5622 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.3527, allocations: 19.98 kB / 0.5622 GB, free: 2.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.3528, allocations: 33.7 kB / 0.5622 GB, free: 2.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3529, allocations: 65.64 kB / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3529, allocations: 0 / 0.5623 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.3531, allocations: 113.6 kB / 0.5624 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3532, allocations: 4 kB / 0.5624 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3532, allocations: 0 / 0.5624 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3532, allocations: 4 kB / 0.5624 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.3533, allocations: 15.94 kB / 0.5624 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3533, allocations: 3.984 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.3533, allocations: 11.88 kB / 0.5624 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3533, allocations: 0 / 0.5624 GB, free: 1.793 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.0001055/0.3534, allocations: 125.8 kB / 0.5625 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3535, allocations: 15.98 kB / 0.5626 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3537, allocations: 135.1 kB / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3537, allocations: 0 / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3537, allocations: 0 / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3537, allocations: 7.938 kB / 0.5627 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.3542, allocations: 358.4 kB / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3542, allocations: 0 / 0.563 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.3543, allocations: 12 kB / 0.563 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3543, allocations: 7.938 kB / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3543, allocations: 0 / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3543, allocations: 7.969 kB / 0.5631 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3543, allocations: 4 kB / 0.5631 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3545, allocations: 212.5 kB / 0.5633 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.973e-05/0.3546, allocations: 8.047 kB / 0.5633 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3546, allocations: 16.25 kB / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.3546, allocations: 0 / 0.5633 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.3547, allocations: 7.984 kB / 0.5633 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3547, allocations: 8 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3548, allocations: 145.8 kB / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3548, allocations: 0 / 0.5634 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3551, allocations: 31.98 kB / 0.5635 GB, free: 0.6172 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.002325/0.3574, allocations: 1.131 MB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3576, allocations: 59.91 kB / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3576, allocations: 0 / 0.5646 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-05/0.3577, allocations: 35.92 kB / 0.5647 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.358, allocations: 36.58 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.3599, allocations: 1.651 MB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.36, allocations: 92.31 kB / 0.5664 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.36, allocations: 16.95 kB / 0.5664 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3601, allocations: 35.42 kB / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3601, allocations: 0 / 0.5665 GB, free: 13.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3894, allocations: 4.09 MB / 0.5705 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 3.859 kB / 0.5705 GB, free: 9.613 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.853755872696638]