Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001342/0.001342, allocations: 115 kB / 20.48 MB, free: 1.129 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.001454/0.001454, allocations: 214.8 kB / 23.78 MB, free: 4.195 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.41/1.41, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.2519/0.2519, 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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003789/0.003789, allocations: 83.86 kB / 0.4963 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3758, allocations: 66.09 MB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003211/0.379, allocations: 1.712 MB / 0.5625 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3816, allocations: 1.668 MB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3816, allocations: 0 / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.3819, allocations: 35.77 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.3822, allocations: 95.61 kB / 0.5642 GB, free: 336 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.3824, allocations: 83.67 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.3826, allocations: 107.6 kB / 0.5644 GB, free: 144 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.3827, allocations: 13.83 kB / 0.5644 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.991e-05/0.3828, allocations: 47.78 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.3829, allocations: 43.77 kB / 0.5645 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3829, allocations: 8 kB / 0.5645 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3831, allocations: 99.88 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.3832, allocations: 23.92 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.3832, allocations: 23.86 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.3835, allocations: 163.4 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3835, allocations: 3.984 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3835, allocations: 4 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.3835, allocations: 0 / 0.5648 GB, free: 15.72 MB / 414.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.0005659/0.3841, allocations: 357.4 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3841, allocations: 12.03 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.3842, allocations: 30.75 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.3842, allocations: 16.84 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.3845, allocations: 146.9 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3845, allocations: 4.375 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3845, allocations: 7.938 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3847, allocations: 97.09 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3847, allocations: 7.922 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3847, allocations: 4 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3847, allocations: 0 / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.3848, allocations: 23.98 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.3852, allocations: 256 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3854, allocations: 50.62 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.3854, allocations: 24.84 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3854, allocations: 3.938 kB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3856, allocations: 71.39 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3856, allocations: 0 / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.3862, allocations: 185.3 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.3862, allocations: 81.11 kB / 0.5662 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3864, allocations: 170.4 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3864, allocations: 25.7 kB / 0.5663 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.3865, allocations: 96.14 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3865, allocations: 35.67 kB / 0.5665 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.3866, allocations: 21.72 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3867, allocations: 326.8 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.3868, allocations: 23.98 kB / 0.5668 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.3869, allocations: 72.2 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.387, allocations: 57.7 kB / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.387, allocations: 0 / 0.567 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002182/0.3872, allocations: 109.5 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3872, allocations: 4 kB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3872, allocations: 4 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3872, allocations: 0 / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.3873, allocations: 20.05 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3873, allocations: 0 / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.3874, allocations: 7.938 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3874, allocations: 4 kB / 0.5671 GB, free: 13.17 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.0001007/0.3875, allocations: 121.8 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3875, allocations: 11.95 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.3878, allocations: 118.4 kB / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3878, allocations: 0 / 0.5673 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3878, allocations: 3.938 kB / 0.5673 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3878, allocations: 7.938 kB / 0.5673 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.3883, allocations: 362.8 kB / 0.5677 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3883, allocations: 7.938 kB / 0.5677 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.3883, allocations: 12 kB / 0.5677 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3883, allocations: 3.938 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3883, allocations: 7.984 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3883, allocations: 0 / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3883, allocations: 0 / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3886, allocations: 220.4 kB / 0.5679 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/0.3886, allocations: 11.95 kB / 0.5679 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.3887, allocations: 11.95 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.3887, allocations: 4 kB / 0.568 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3888, allocations: 7.984 kB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3888, allocations: 4 kB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3889, allocations: 131.9 kB / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3889, allocations: 0 / 0.5681 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.3892, allocations: 51.81 kB / 0.5681 GB, free: 12 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.002539/0.3918, allocations: 1.226 MB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.392, allocations: 59.91 kB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.392, allocations: 0 / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.753e-05/0.3921, allocations: 31.92 kB / 0.5694 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3924, allocations: 31.66 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3942, allocations: 1.601 MB / 0.571 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.088e-05/0.3943, allocations: 81.33 kB / 0.5711 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.3944, allocations: 20.95 kB / 0.5711 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.3945, allocations: 39.41 kB / 0.5712 GB, free: 8.984 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3945, allocations: 7.938 kB / 0.5712 GB, free: 8.977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.4251, allocations: 4.833 MB / 0.5759 GB, free: 4.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.68, allocations: 3.984 kB / 0.5759 GB, free: 4.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_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_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.741959864000819]