Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001792/0.001792, allocations: 111 kB / 20.48 MB, free: 1.273 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.002283/0.002283, allocations: 217.8 kB / 23.78 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2599/0.2599, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00341/0.00341, allocations: 79.88 kB / 0.4963 GB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3628, allocations: 66.08 MB / 0.5608 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003082/0.3659, allocations: 1.706 MB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3676, allocations: 0.9749 MB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.595e-05/0.3677, allocations: 7.938 kB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.368, allocations: 39.78 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.3683, allocations: 91.59 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.3685, allocations: 83.66 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.3687, allocations: 107.7 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.3688, allocations: 9.828 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.307e-05/0.3688, allocations: 43.78 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.863e-05/0.3689, allocations: 35.72 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.3689, allocations: 8 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.369, allocations: 39.98 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.3691, allocations: 27.91 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.3692, allocations: 23.81 kB / 0.5639 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3694, allocations: 127.4 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3694, allocations: 4 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3694, allocations: 0 / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3694, allocations: 0 / 0.5641 GB, free: 0.6367 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.0005522/0.37, allocations: 353.5 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.37, allocations: 12.03 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/0.3701, allocations: 34.75 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3701, allocations: 8.891 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3704, allocations: 162.3 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3704, allocations: 4.375 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3704, allocations: 4.375 kB / 0.5646 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3706, allocations: 57.88 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3706, allocations: 0 / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3706, allocations: 8 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3706, allocations: 4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.3707, allocations: 27.91 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.3711, allocations: 255.9 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3713, allocations: 58.67 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.3713, allocations: 16.86 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3714, allocations: 0 / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.3715, allocations: 75.31 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.3715, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000589/0.3721, allocations: 193.2 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3722, allocations: 51.41 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3724, allocations: 218.2 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3724, allocations: 33.64 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.339e-05/0.3725, allocations: 108.1 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.3725, allocations: 23.84 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.3726, allocations: 21.72 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3728, allocations: 330.7 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.3728, allocations: 23.98 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.373, allocations: 41.7 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3731, allocations: 61.64 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3731, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002144/0.3733, allocations: 105.5 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3734, allocations: 8 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3734, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3734, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.58e-05/0.3735, allocations: 16 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.3735, allocations: 4 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.3735, allocations: 11.95 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3735, allocations: 4 kB / 0.5663 GB, free: 14.14 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.0001157/0.3737, allocations: 129.8 kB / 0.5664 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3737, allocations: 15.89 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.374, allocations: 119.2 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.374, allocations: 4 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.374, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.374, allocations: 0 / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.3745, allocations: 378.7 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3745, allocations: 4.031 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.202e-05/0.3745, allocations: 15.94 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.3745, allocations: 7.984 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.3745, allocations: 0 / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3745, allocations: 3.938 kB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3745, allocations: 0 / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3748, allocations: 212.5 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.3749, allocations: 12.05 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3749, allocations: 11.92 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.375, allocations: 3.938 kB / 0.5672 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.375, allocations: 15.98 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.375, allocations: 7.984 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3752, allocations: 159.2 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3752, allocations: 0 / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3754, allocations: 24 kB / 0.5674 GB, free: 12.94 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.002244/0.3777, allocations: 1.116 MB / 0.5685 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3779, allocations: 71.83 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3779, allocations: 0 / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/0.378, allocations: 31.92 kB / 0.5686 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.3783, allocations: 30.41 kB / 0.5686 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.3804, allocations: 1.698 MB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.856e-05/0.3805, allocations: 100.6 kB / 0.5703 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3805, allocations: 20.88 kB / 0.5704 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.316e-05/0.3806, allocations: 35.42 kB / 0.5704 GB, free: 9.887 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3806, allocations: 0 / 0.5704 GB, free: 9.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.4102, allocations: 4.277 MB / 0.5746 GB, free: 5.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.22, allocations: 11.94 kB / 0.5746 GB, free: 5.629 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.468202058000315]