Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001629/0.001629, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002283/0.002283, allocations: 205.2 kB / 24.52 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.626/1.626, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.235/0.235, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",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.002059/0.002059, allocations: 71.88 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 65.46 MB / 0.5579 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004196/0.3525, allocations: 1.94 MB / 0.5598 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.355, allocations: 1.154 MB / 0.5609 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.3552, allocations: 7.938 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.3558, allocations: 227.4 kB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3563, allocations: 223.2 kB / 0.5613 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3567, allocations: 119.6 kB / 0.5614 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.357, allocations: 251.3 kB / 0.5617 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3572, allocations: 23.77 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.3574, allocations: 131.5 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.3576, allocations: 167.5 kB / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3576, allocations: 8 kB / 0.562 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3578, allocations: 71.95 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3579, allocations: 63.7 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.358, allocations: 87.3 kB / 0.5622 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003754/0.3584, allocations: 242.8 kB / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3584, allocations: 0 / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3584, allocations: 0 / 0.5624 GB, free: 3.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3584, allocations: 0 / 0.5624 GB, free: 3.059 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.0008253/0.3592, allocations: 0.5081 MB / 0.5629 GB, free: 2.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3592, allocations: 8.031 kB / 0.5629 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.11e-05/0.3593, allocations: 8.188 kB / 0.5629 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.3593, allocations: 30.75 kB / 0.563 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.3594, allocations: 36.75 kB / 0.563 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.3599, allocations: 230.4 kB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.3599, allocations: 8.125 kB / 0.5632 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.3599, allocations: 8 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.3602, allocations: 119.3 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3602, allocations: 0 / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3602, allocations: 4 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3602, allocations: 0 / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.3604, allocations: 51.89 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.361, allocations: 439.9 kB / 0.5638 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.3614, allocations: 121.2 kB / 0.5639 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.3615, allocations: 37.83 kB / 0.564 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3615, allocations: 8.141 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.3618, allocations: 128.9 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.3618, allocations: 0 / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.3631, allocations: 0.5047 MB / 0.5646 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3632, allocations: 81.11 kB / 0.5647 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.3637, allocations: 444.5 kB / 0.5651 GB, free: 120 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.3637, allocations: 37.69 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3639, allocations: 160.5 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.3639, allocations: 67.38 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.364, allocations: 45.7 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3642, allocations: 346.8 kB / 0.5657 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3643, allocations: 55.97 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3645, allocations: 95.34 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.3648, allocations: 163.4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3648, allocations: 4 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000439/0.3652, allocations: 233.3 kB / 0.5663 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3652, allocations: 4 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3652, allocations: 4 kB / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3652, allocations: 0 / 0.5663 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3654, allocations: 47.91 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3654, allocations: 0 / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.3655, allocations: 11.95 kB / 0.5663 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3655, allocations: 12 kB / 0.5663 GB, free: 14.8 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.0001923/0.3657, allocations: 174.3 kB / 0.5665 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.3658, allocations: 39.73 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005248/0.3663, allocations: 261 kB / 0.5668 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.3663, allocations: 7.984 kB / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3663, allocations: 0 / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3663, allocations: 0 / 0.5668 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3673, allocations: 0.7106 MB / 0.5675 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3673, allocations: 4 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.615e-05/0.3674, allocations: 36.17 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3674, allocations: 0 / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3674, allocations: 11.92 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3674, allocations: 4 kB / 0.5675 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3674, allocations: 7.875 kB / 0.5676 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.368, allocations: 419.6 kB / 0.568 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.368, allocations: 35.75 kB / 0.568 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.368, allocations: 11.94 kB / 0.568 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3682, allocations: 8 kB / 0.568 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.3682, allocations: 27.84 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/0.3683, allocations: 15.98 kB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003611/0.3686, allocations: 331 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3686, allocations: 4 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003889/0.369, allocations: 47.94 kB / 0.5684 GB, free: 12.56 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 (22): * Single equations (assignments): 18 * 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.002731/0.3718, allocations: 1.356 MB / 0.5697 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.3721, allocations: 151.7 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3721, allocations: 0 / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3723, allocations: 75.84 kB / 0.57 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.3729, allocations: 67.09 kB / 0.57 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.3768, allocations: 2.893 MB / 0.5728 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.3773, allocations: 0.7792 MB / 0.5736 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.3774, allocations: 41.91 kB / 0.5736 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3775, allocations: 99.41 kB / 0.5737 GB, free: 7.141 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3775, allocations: 0 / 0.5737 GB, free: 7.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.4056, allocations: 6.713 MB / 0.5803 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 8.766 kB / 0.5803 GB, free: 0.5195 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.17481570201926]