Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.00132/0.00132, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001432/0.001432, allocations: 212.1 kB / 23.77 MB, free: 4.438 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.47/1.47, allocations: 230.5 MB / 257.5 MB, free: 7.715 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.2276/0.2276, allocations: 46.95 MB / 360.9 MB, free: 3.91 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003403/0.003403, allocations: 79.88 kB / 0.4963 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.441, allocations: 66.09 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.0032/0.4442, allocations: 1.667 MB / 0.5625 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.446, allocations: 0.9515 MB / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.446, allocations: 0 / 0.5634 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.4464, allocations: 87.69 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.4467, allocations: 123.5 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.4469, allocations: 71.73 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.4471, allocations: 119.6 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.4472, allocations: 4.234 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.4473, allocations: 47.78 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4474, allocations: 55.81 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.4474, allocations: 4 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.24e-05/0.4475, allocations: 31.98 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.4475, allocations: 23.91 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.4476, allocations: 27.75 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.4478, allocations: 125.2 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4478, allocations: 0 / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4478, allocations: 4 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4478, allocations: 0 / 0.5641 GB, free: 0.6641 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.0005934/0.4484, allocations: 345.6 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4485, allocations: 8.031 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.4485, allocations: 30.75 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.4485, allocations: 16.84 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4488, allocations: 162.3 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.4489, allocations: 4.359 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.4489, allocations: 384 / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.449, allocations: 57.73 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4491, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4491, allocations: 4 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4491, allocations: 0 / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.4491, allocations: 19.98 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.4493, allocations: 148.8 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4495, allocations: 50.61 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.4496, allocations: 20.84 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.4496, allocations: 3.938 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.4498, allocations: 79.33 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4498, allocations: 0 / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002999/0.4501, allocations: 97.58 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4501, allocations: 55.34 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.4504, allocations: 223.5 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.4504, allocations: 33.64 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.4505, allocations: 108.1 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.4505, allocations: 11.89 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4505, allocations: 25.7 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4507, allocations: 322.8 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.4507, allocations: 16 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.4508, allocations: 29.7 kB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.4509, allocations: 45.7 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4509, allocations: 0 / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.4511, allocations: 93.45 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4511, allocations: 8 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4511, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4511, allocations: 0 / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.4512, allocations: 12.03 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.4512, allocations: 4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.4513, allocations: 3.984 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4513, allocations: 4 kB / 0.566 GB, free: 14.44 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.000121/0.4514, allocations: 129.7 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.4514, allocations: 19.84 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.4516, allocations: 94.81 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4516, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4516, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4516, allocations: 0 / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.4518, allocations: 165.1 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4518, allocations: 3.938 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.4518, allocations: 12 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4518, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4518, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4518, allocations: 3.938 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4518, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4521, allocations: 121 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.4521, allocations: 19.84 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.4521, allocations: 3.984 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.4521, allocations: 12 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.4522, allocations: 7.922 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.4522, allocations: 4 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.4524, allocations: 165.2 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4524, allocations: 0 / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.4526, allocations: 27.92 kB / 0.5668 GB, free: 13.59 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 (6): * Single equations (assignments): 4 * 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.002058/0.4546, allocations: 0.9697 MB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001877/0.4548, allocations: 39.98 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4548, allocations: 4.062 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.4549, allocations: 23.92 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4552, allocations: 35.66 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4572, allocations: 1.58 MB / 0.5694 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.4573, allocations: 89.16 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.619e-05/0.4574, allocations: 20.47 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.4575, allocations: 36.48 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4575, allocations: 0 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.4886, allocations: 4.025 MB / 0.5735 GB, free: 6.816 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.55, allocations: 17.7 kB / 0.5735 GB, free: 6.805 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019972 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.77478928497294]