Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001873/0.001873, allocations: 112 kB / 20.48 MB, free: 1.27 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.001549/0.001549, allocations: 209.7 kB / 23.77 MB, free: 4.441 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.553/1.553, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.2313/0.2313, allocations: 46.95 MB / 360.8 MB, free: 3.906 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003336/0.003336, allocations: 83.86 kB / 0.4963 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4175, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003208/0.4207, allocations: 1.71 MB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.4224, allocations: 0.9632 MB / 0.5634 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.4225, allocations: 4 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.4228, allocations: 47.77 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.4231, allocations: 99.53 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.4233, allocations: 79.72 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4235, allocations: 107.6 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4236, allocations: 9.828 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.4237, allocations: 39.8 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.561e-05/0.4238, allocations: 39.77 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.4238, allocations: 4 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.4239, allocations: 43.98 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.4239, allocations: 27.84 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.301e-05/0.424, allocations: 27.81 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.4242, allocations: 127.4 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4242, allocations: 0 / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4242, allocations: 0 / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.4242, allocations: 3.938 kB / 0.5641 GB, free: 0.6602 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.0005649/0.4248, allocations: 349.5 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4248, allocations: 12.03 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.4249, allocations: 30.75 kB / 0.5644 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.4249, allocations: 16.89 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4252, allocations: 162.2 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4252, allocations: 4.375 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.4252, allocations: 384 / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4254, allocations: 57.8 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4254, allocations: 3.984 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4254, allocations: 8 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4254, allocations: 0 / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.514e-05/0.4255, allocations: 23.97 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.4259, allocations: 259.9 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4261, allocations: 62.67 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.4261, allocations: 16.86 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4262, allocations: 3.938 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.4263, allocations: 79.31 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4263, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005858/0.4269, allocations: 177.3 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.427, allocations: 59.34 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4272, allocations: 222.2 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4272, allocations: 29.7 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4273, allocations: 104.1 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.4274, allocations: 27.83 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.4274, allocations: 21.72 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4276, allocations: 334.8 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.4276, allocations: 20 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.4277, allocations: 37.7 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.4278, allocations: 57.64 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4278, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.4281, allocations: 109.6 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4281, allocations: 8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4281, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4281, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.398e-05/0.4282, allocations: 19.92 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4282, allocations: 4.188 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.4282, allocations: 7.938 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.4283, allocations: 7.938 kB / 0.5663 GB, free: 14.16 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.0001123/0.4284, allocations: 132.3 kB / 0.5664 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4284, allocations: 15.94 kB / 0.5664 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002869/0.4287, allocations: 123 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4287, allocations: 4 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4287, allocations: 0 / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4287, allocations: 0 / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.4292, allocations: 370.4 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4292, allocations: 0 / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.4292, allocations: 11.98 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4292, allocations: 4 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4293, allocations: 8.031 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4293, allocations: 3.938 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4293, allocations: 0 / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.4295, allocations: 216.8 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/0.4295, allocations: 11.94 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.4296, allocations: 8 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.4296, allocations: 7.938 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.4297, allocations: 11.92 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4297, allocations: 4 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.4298, allocations: 159.2 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4298, allocations: 4 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.4301, allocations: 27.98 kB / 0.5674 GB, free: 12.97 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 (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.002369/0.4325, allocations: 1.117 MB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.4327, allocations: 67.84 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4327, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.4328, allocations: 35.97 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4331, allocations: 31.3 kB / 0.5686 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4351, allocations: 1.697 MB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.4352, allocations: 104.7 kB / 0.5703 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.332e-05/0.4353, allocations: 20.88 kB / 0.5704 GB, free: 9.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.4353, allocations: 39.42 kB / 0.5704 GB, free: 9.906 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4353, allocations: 0 / 0.5704 GB, free: 9.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.4659, allocations: 4.279 MB / 0.5746 GB, free: 5.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.57, allocations: 11.48 kB / 0.5746 GB, free: 5.652 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.831162163987756]