Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001731/0.001731, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.91 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 83.88 kB / 0.4963 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3526, allocations: 66.08 MB / 0.5608 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003167/0.3558, allocations: 1.7 MB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3575, allocations: 1.021 MB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.3576, allocations: 0 / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.3579, allocations: 71.72 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.3582, allocations: 103.6 kB / 0.5636 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.3584, allocations: 83.66 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.3586, allocations: 103.7 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3587, allocations: 240 / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.3588, allocations: 55.77 kB / 0.5638 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.3589, allocations: 55.69 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3589, allocations: 4 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.357e-05/0.359, allocations: 35.98 kB / 0.5639 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.393e-05/0.3591, allocations: 19.92 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.3591, allocations: 27.81 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3593, allocations: 105.4 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3593, allocations: 3.938 kB / 0.5641 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.3593, allocations: 3.984 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3593, allocations: 3.938 kB / 0.5641 GB, free: 0.8203 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006047/0.3599, allocations: 333.6 kB / 0.5644 GB, free: 476 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.36, allocations: 12.03 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.36, allocations: 34.75 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.3601, allocations: 12.84 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.3604, allocations: 155 kB / 0.5646 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3604, allocations: 4.375 kB / 0.5646 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3604, allocations: 4.375 kB / 0.5646 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3606, allocations: 49.8 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3606, allocations: 3.938 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3606, allocations: 0 / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3606, allocations: 7.984 kB / 0.5647 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.004e-05/0.3607, allocations: 16 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.3609, allocations: 156.7 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3611, allocations: 46.62 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.3611, allocations: 20.84 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3612, allocations: 0 / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3613, allocations: 75.27 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3613, allocations: 0 / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002914/0.3616, allocations: 93.62 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3617, allocations: 55.34 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.3619, allocations: 194.3 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3619, allocations: 33.7 kB / 0.5653 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.3619, allocations: 100.1 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.362, allocations: 11.84 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.362, allocations: 29.7 kB / 0.5655 GB, free: 15.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3622, allocations: 326.8 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.3622, allocations: 11.94 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.3623, allocations: 33.69 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3624, allocations: 45.95 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3624, allocations: 4 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.3626, allocations: 89.47 kB / 0.566 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3626, allocations: 4 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3626, allocations: 0 / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3626, allocations: 4 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.3627, allocations: 8 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3627, allocations: 3.984 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.3627, allocations: 8 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3627, allocations: 0 / 0.566 GB, free: 14.67 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001217/0.3629, allocations: 123.2 kB / 0.5661 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3629, allocations: 23.81 kB / 0.5661 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.3631, allocations: 86.77 kB / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3631, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3631, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3631, allocations: 0 / 0.5662 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3633, allocations: 160.7 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3633, allocations: 3.938 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.3633, allocations: 7.938 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3633, allocations: 4 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3633, allocations: 4 kB / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3633, allocations: 0 / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3633, allocations: 0 / 0.5664 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.3635, allocations: 109.2 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.271e-05/0.3635, allocations: 11.95 kB / 0.5665 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3635, allocations: 4 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.3636, allocations: 4 kB / 0.5665 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.3636, allocations: 15.92 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3636, allocations: 4 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3638, allocations: 148.2 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 0 / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002092/0.364, allocations: 15.94 kB / 0.5667 GB, free: 13.87 MB / 414.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: 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 (5): * Single equations (assignments): 3 * 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.00188/0.3659, allocations: 0.951 MB / 0.5676 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.3661, allocations: 39.98 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3661, allocations: 0 / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.3662, allocations: 19.92 kB / 0.5677 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3665, allocations: 26.45 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.3683, allocations: 1.51 MB / 0.5692 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3686, allocations: 0.7079 MB / 0.5699 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.832e-05/0.3687, allocations: 16.47 kB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.3687, allocations: 27.44 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3687, allocations: 0 / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3989, allocations: 3.3 MB / 0.5731 GB, free: 7.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.11, allocations: 14.58 kB / 0.5731 GB, free: 7.305 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.325162583001656]