Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 215.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2416/0.2416, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3846, allocations: 65.47 MB / 0.5571 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004537/0.3892, allocations: 2.389 MB / 0.5594 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.3918, allocations: 1.424 MB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.392, allocations: 7.875 kB / 0.5608 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.3926, allocations: 287 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007403/0.3933, allocations: 342.6 kB / 0.5614 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.3939, allocations: 219.5 kB / 0.5616 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00075/0.3946, allocations: 0.5608 MB / 0.5622 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3948, allocations: 39.09 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3951, allocations: 266.9 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3956, allocations: 294.8 kB / 0.5627 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.3956, allocations: 16 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3957, allocations: 59.97 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.3959, allocations: 119.5 kB / 0.5629 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3961, allocations: 186.6 kB / 0.5631 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.3966, allocations: 425.8 kB / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3966, allocations: 0 / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3966, allocations: 0 / 0.5635 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3966, allocations: 0 / 0.5635 GB, free: 1.098 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001279/0.3979, allocations: 0.7417 MB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3979, allocations: 8.031 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.691e-05/0.398, allocations: 46.73 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.942e-05/0.3981, allocations: 60.55 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.3988, allocations: 365.3 kB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3988, allocations: 8.375 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.3988, allocations: 19.92 kB / 0.5647 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3993, allocations: 197.8 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3993, allocations: 0 / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.3993, allocations: 19.86 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3993, allocations: 8 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.3996, allocations: 91.88 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4007, allocations: 0.8362 MB / 0.5658 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006456/0.4013, allocations: 269.3 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.4015, allocations: 96.25 kB / 0.5662 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4016, allocations: 8 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004401/0.402, allocations: 227.5 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.402, allocations: 7.938 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002176/0.4042, allocations: 1.038 MB / 0.5674 GB, free: 12.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.4043, allocations: 162.2 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.4051, allocations: 0.6475 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.4051, allocations: 41.69 kB / 0.5683 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4053, allocations: 237 kB / 0.5685 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4055, allocations: 130.9 kB / 0.5686 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.4056, allocations: 74.12 kB / 0.5687 GB, free: 11.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4058, allocations: 374.8 kB / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.406, allocations: 96.83 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002955/0.4063, allocations: 188.8 kB / 0.5693 GB, free: 10.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.4068, allocations: 296.8 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4068, allocations: 0 / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007265/0.4076, allocations: 409 kB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4076, allocations: 8 kB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4076, allocations: 4 kB / 0.57 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.4076, allocations: 4 kB / 0.57 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002997/0.4079, allocations: 87.83 kB / 0.5701 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4079, allocations: 4 kB / 0.5701 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4081, allocations: 15.98 kB / 0.5701 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4081, allocations: 20 kB / 0.5701 GB, free: 9.934 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002441/0.4084, allocations: 220.2 kB / 0.5703 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.667e-05/0.4085, allocations: 63.58 kB / 0.5704 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/0.4094, allocations: 458.1 kB / 0.5708 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4094, allocations: 4.188 kB / 0.5708 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.4094, allocations: 8 kB / 0.5708 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4095, allocations: 3.984 kB / 0.5709 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.4111, allocations: 1.256 MB / 0.5721 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4111, allocations: 4 kB / 0.5721 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.4113, allocations: 48.08 kB / 0.5721 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4113, allocations: 4 kB / 0.5721 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.4113, allocations: 19.92 kB / 0.5722 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4113, allocations: 4 kB / 0.5722 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4113, allocations: 0 / 0.5722 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.4122, allocations: 0.8128 MB / 0.5729 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.4123, allocations: 55.61 kB / 0.573 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.4124, allocations: 15.94 kB / 0.573 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4127, allocations: 23.98 kB / 0.573 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.4128, allocations: 39.86 kB / 0.5731 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.4129, allocations: 23.98 kB / 0.5731 GB, free: 6.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.4134, allocations: 486.8 kB / 0.5736 GB, free: 6.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4134, allocations: 3.938 kB / 0.5736 GB, free: 6.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005528/0.414, allocations: 79.94 kB / 0.5736 GB, free: 6.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002984/0.417, allocations: 1.742 MB / 0.5753 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000635/0.4176, allocations: 272.1 kB / 0.5756 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4176, allocations: 0 / 0.5756 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.4179, allocations: 137.3 kB / 0.5757 GB, free: 4.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.419, allocations: 154.1 kB / 0.5759 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/0.4253, allocations: 4.537 MB / 0.5803 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.4259, allocations: 0.855 MB / 0.5811 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.4261, allocations: 84.11 kB / 0.5812 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.4264, allocations: 187.4 kB / 0.5814 GB, free: 14.19 MB / 430.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4264, allocations: 0 / 0.5814 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.4717, allocations: 11.3 MB / 0.5924 GB, free: 3.012 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.25, allocations: 11.12 kB / 0.5925 GB, free: 3.004 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.417070903815329]