Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001514/0.001514, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2283/0.2283, allocations: 44.93 MB / 358.8 MB, free: 6.035 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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.002164/0.002164, allocations: 71.88 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3214, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003286/0.3247, allocations: 1.868 MB / 0.5589 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3266, allocations: 1.079 MB / 0.5599 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.3267, allocations: 7.938 kB / 0.5599 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003699/0.3271, allocations: 163.4 kB / 0.5601 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.3275, allocations: 187.3 kB / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.3277, allocations: 115.6 kB / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.328, allocations: 243.3 kB / 0.5606 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3282, allocations: 27.7 kB / 0.5606 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3283, allocations: 103.6 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.3285, allocations: 147.5 kB / 0.5609 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3285, allocations: 12 kB / 0.5609 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3287, allocations: 67.97 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.3287, allocations: 47.78 kB / 0.561 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.3288, allocations: 67.47 kB / 0.5611 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3291, allocations: 234.9 kB / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3291, allocations: 0 / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3291, allocations: 0 / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3291, allocations: 0 / 0.5613 GB, free: 3.152 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006994/0.3298, allocations: 472.6 kB / 0.5617 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.3299, allocations: 19.95 kB / 0.5617 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.3299, allocations: 38.75 kB / 0.5618 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.33, allocations: 28.75 kB / 0.5618 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3303, allocations: 210.5 kB / 0.562 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3304, allocations: 12.31 kB / 0.562 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.3304, allocations: 15.92 kB / 0.562 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.3306, allocations: 119.2 kB / 0.5622 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3306, allocations: 0 / 0.5622 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3307, allocations: 4 kB / 0.5622 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3307, allocations: 8 kB / 0.5622 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.3308, allocations: 47.94 kB / 0.5622 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.3314, allocations: 431.9 kB / 0.5626 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.3318, allocations: 121.2 kB / 0.5627 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3319, allocations: 41.83 kB / 0.5628 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3319, allocations: 4 kB / 0.5628 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.3322, allocations: 133.1 kB / 0.5629 GB, free: 1.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3322, allocations: 0 / 0.5629 GB, free: 1.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00135/0.3335, allocations: 0.505 MB / 0.5634 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3336, allocations: 77.11 kB / 0.5635 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.334, allocations: 384.5 kB / 0.5638 GB, free: 332 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.334, allocations: 33.7 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3341, allocations: 144.5 kB / 0.564 GB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.3342, allocations: 75.38 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.3343, allocations: 45.7 kB / 0.5641 GB, free: 12 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3345, allocations: 346.9 kB / 0.5645 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3346, allocations: 55.97 kB / 0.5645 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3348, allocations: 95.34 kB / 0.5646 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3351, allocations: 159.3 kB / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3351, allocations: 0 / 0.5648 GB, free: 15.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004481/0.3355, allocations: 249.5 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3355, allocations: 4 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3355, allocations: 0 / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3355, allocations: 7.938 kB / 0.565 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3357, allocations: 47.97 kB / 0.565 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3357, allocations: 3.938 kB / 0.5651 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.3358, allocations: 12 kB / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.3358, allocations: 8 kB / 0.5651 GB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001575/0.336, allocations: 154.3 kB / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.336, allocations: 35.75 kB / 0.5653 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.3366, allocations: 275.8 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3366, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3366, allocations: 4 kB / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3366, allocations: 0 / 0.5655 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.3376, allocations: 0.6988 MB / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3376, allocations: 0 / 0.5662 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3377, allocations: 39.92 kB / 0.5662 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3377, allocations: 8.125 kB / 0.5662 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3377, allocations: 7.984 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3377, allocations: 0 / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3377, allocations: 7.938 kB / 0.5663 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.3383, allocations: 443.4 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3383, allocations: 19.86 kB / 0.5667 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.3384, allocations: 11.98 kB / 0.5667 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3385, allocations: 11.94 kB / 0.5667 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.3386, allocations: 19.97 kB / 0.5667 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3386, allocations: 12 kB / 0.5668 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003067/0.3389, allocations: 291 kB / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3389, allocations: 0 / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.3393, allocations: 51.88 kB / 0.5671 GB, free: 12.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002877/0.3422, allocations: 1.433 MB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.3425, allocations: 155.9 kB / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3426, allocations: 0 / 0.5686 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.3427, allocations: 80.03 kB / 0.5687 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.3433, allocations: 78.16 kB / 0.5688 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.3467, allocations: 2.736 MB / 0.5715 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.3469, allocations: 157.5 kB / 0.5716 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.347, allocations: 45.91 kB / 0.5717 GB, free: 8.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.3471, allocations: 87.39 kB / 0.5717 GB, free: 8.148 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3471, allocations: 0 / 0.5717 GB, free: 8.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.3814, allocations: 6.922 MB / 0.5785 GB, free: 1.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 3.516 kB / 0.5785 GB, free: 1.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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: 14.768226341344416]