Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001389/0.001389, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001415/0.001415, allocations: 213.1 kB / 24.54 MB, free: 4.02 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.191 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.2296/0.2296, allocations: 46.88 MB / 361.3 MB, free: 4.422 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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 87.84 kB / 0.4966 GB, free: 8.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3773, allocations: 66.03 MB / 0.5611 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003237/0.3805, allocations: 1.743 MB / 0.5628 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3823, allocations: 1.049 MB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.3824, allocations: 7.875 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.3827, allocations: 31.84 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.383, allocations: 99.53 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3832, allocations: 83.66 kB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3833, allocations: 99.75 kB / 0.5642 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.97e-05/0.3834, allocations: 9.969 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.3835, allocations: 47.72 kB / 0.5642 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.362e-05/0.3836, allocations: 39.78 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3836, allocations: 4 kB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.3837, allocations: 47.97 kB / 0.5643 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.3838, allocations: 15.92 kB / 0.5643 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3838, allocations: 31.75 kB / 0.5643 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.384, allocations: 115.5 kB / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.384, allocations: 0 / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.384, allocations: 0 / 0.5645 GB, free: 1.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.384, allocations: 3.938 kB / 0.5645 GB, free: 1.203 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.0005854/0.3846, allocations: 414.7 kB / 0.5649 GB, free: 0.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3847, allocations: 12.03 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.3847, allocations: 34.75 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.3847, allocations: 8.891 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.385, allocations: 208.2 kB / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.385, allocations: 384 / 0.5651 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.3851, allocations: 4.375 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3852, allocations: 61.73 kB / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3852, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3852, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3852, allocations: 0 / 0.5652 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.3853, allocations: 23.98 kB / 0.5652 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.3857, allocations: 292.8 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3859, allocations: 54.61 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.3859, allocations: 20.8 kB / 0.5655 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.386, allocations: 7.984 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.3861, allocations: 67.39 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3861, allocations: 0 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.3866, allocations: 169.6 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3867, allocations: 55.39 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3869, allocations: 175.5 kB / 0.566 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3869, allocations: 25.7 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.3869, allocations: 100.1 kB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.387, allocations: 31.77 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.387, allocations: 25.66 kB / 0.5662 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3872, allocations: 326.8 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.3872, allocations: 23.98 kB / 0.5665 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.3873, allocations: 37.64 kB / 0.5665 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3874, allocations: 65.7 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3874, allocations: 0 / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3876, allocations: 105.6 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3876, allocations: 4 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3876, allocations: 0 / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3877, allocations: 4 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.3877, allocations: 15.98 kB / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3878, allocations: 0 / 0.5667 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.3878, allocations: 4 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3878, allocations: 8.031 kB / 0.5667 GB, free: 14.62 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.0001128/0.3879, allocations: 129.7 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.3879, allocations: 7.953 kB / 0.5669 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.3882, allocations: 126.3 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3882, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3882, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3882, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.3887, allocations: 387.3 kB / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3887, allocations: 0 / 0.5674 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.3887, allocations: 15.98 kB / 0.5674 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3887, allocations: 4 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3887, allocations: 0 / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3887, allocations: 7.875 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3887, allocations: 4 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.389, allocations: 204.3 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-05/0.389, allocations: 89.02 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.3891, allocations: 4 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.3891, allocations: 7.922 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.3892, allocations: 4 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3892, allocations: 11.98 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.3893, allocations: 123.2 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3893, allocations: 0 / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.3896, allocations: 23.94 kB / 0.5678 GB, free: 13.38 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.002087/0.3916, allocations: 1.093 MB / 0.5689 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.3918, allocations: 59.84 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3918, allocations: 3.938 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.3919, allocations: 23.98 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.3923, allocations: 37.05 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.3941, allocations: 1.59 MB / 0.5706 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3944, allocations: 0.7002 MB / 0.5713 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.349e-05/0.3945, allocations: 21.27 kB / 0.5713 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.3946, allocations: 35.42 kB / 0.5713 GB, free: 9.832 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3946, allocations: 0 / 0.5713 GB, free: 9.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.4201, allocations: 3.395 MB / 0.5746 GB, free: 6.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.235, allocations: 8 kB / 0.5746 GB, free: 6.438 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.309357749996707]