Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001696/0.001696, allocations: 110.4 kB / 21.1 MB, free: 0.7891 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.002135/0.002135, allocations: 206.2 kB / 24.38 MB, free: 4.203 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.508/1.508, allocations: 230.2 MB / 257.7 MB, free: 8.293 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.2456/0.2456, allocations: 46.9 MB / 361 MB, free: 4.496 MB / 286.1 MB " [Timeout remaining time 179] 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 79.86 kB / 0.4962 GB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4511, allocations: 66.03 MB / 0.5607 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003525/0.4547, allocations: 1.74 MB / 0.5624 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.4577, allocations: 1.746 MB / 0.5641 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.4578, allocations: 4 kB / 0.5641 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.4581, allocations: 35.77 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.4584, allocations: 99.53 kB / 0.5643 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.4586, allocations: 79.67 kB / 0.5643 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.4589, allocations: 103.8 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.459, allocations: 17.75 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.4591, allocations: 55.72 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.4592, allocations: 43.83 kB / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.4593, allocations: 8 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.4594, allocations: 95.95 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.743e-05/0.4595, allocations: 27.84 kB / 0.5647 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.4596, allocations: 31.8 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.4599, allocations: 171.3 kB / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4599, allocations: 0 / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4599, allocations: 0 / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4599, allocations: 0 / 0.5649 GB, free: 440 kB / 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.000662/0.4606, allocations: 426.7 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4606, allocations: 8.031 kB / 0.5653 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.4607, allocations: 38.69 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.4607, allocations: 12.84 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.4611, allocations: 220.2 kB / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4611, allocations: 384 / 0.5655 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.4611, allocations: 7.938 kB / 0.5655 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.4613, allocations: 75.33 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.4613, allocations: 0 / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.4613, allocations: 0 / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4613, allocations: 4 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.4614, allocations: 19.92 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.4618, allocations: 284.9 kB / 0.5659 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.462, allocations: 58.69 kB / 0.566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.918e-05/0.462, allocations: 20.84 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.4621, allocations: 0 / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.4622, allocations: 71.33 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4622, allocations: 0 / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005886/0.4628, allocations: 173.6 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.4629, allocations: 81.11 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.4631, allocations: 170.4 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4631, allocations: 29.7 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.4631, allocations: 100.1 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.4632, allocations: 31.73 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.4632, allocations: 21.7 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4634, allocations: 318.8 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.4634, allocations: 23.98 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.4635, allocations: 46.56 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4636, allocations: 65.7 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4636, allocations: 0 / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001979/0.4638, allocations: 97.58 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.4638, allocations: 4 kB / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4638, allocations: 0 / 0.5672 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4639, allocations: 8.047 kB / 0.5672 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.4639, allocations: 16 kB / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.464, allocations: 0 / 0.5672 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.464, allocations: 7.938 kB / 0.5672 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.464, allocations: 4 kB / 0.5672 GB, free: 13.77 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 (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.0001073/0.4641, allocations: 121.8 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4641, allocations: 7.953 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.4644, allocations: 118.3 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.4644, allocations: 4 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4644, allocations: 0 / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4644, allocations: 7.875 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4649, allocations: 399.5 kB / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4649, allocations: 0 / 0.5678 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.4649, allocations: 8 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.4649, allocations: 3.938 kB / 0.5678 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.465, allocations: 15.97 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.465, allocations: 0 / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.465, allocations: 4.031 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.4652, allocations: 208.3 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.4653, allocations: 81.06 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4653, allocations: 7.938 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.4654, allocations: 3.984 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.4654, allocations: 8 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.4654, allocations: 12.17 kB / 0.5682 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.4656, allocations: 127.9 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4656, allocations: 3.938 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002985/0.4659, allocations: 47.86 kB / 0.5683 GB, free: 12.49 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: 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 (8): * Single equations (assignments): 6 * 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.002431/0.4683, allocations: 1.181 MB / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.4685, allocations: 55.91 kB / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4685, allocations: 0 / 0.5695 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.4686, allocations: 24.11 kB / 0.5696 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4689, allocations: 39.97 kB / 0.5696 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.4708, allocations: 1.588 MB / 0.5712 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4712, allocations: 0.7041 MB / 0.5718 GB, free: 8.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.696e-05/0.4713, allocations: 21.27 kB / 0.5719 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.4713, allocations: 35.42 kB / 0.5719 GB, free: 8.891 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4713, allocations: 0 / 0.5719 GB, free: 8.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.5026, allocations: 4.092 MB / 0.5759 GB, free: 4.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.459, allocations: 5.969 kB / 0.5759 GB, free: 4.777 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.675792223075405]