Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001702/0.001702, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001899/0.001899, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.507/1.507, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2264/0.2264, allocations: 44.93 MB / 359.6 MB, free: 6.066 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.003123/0.003123, allocations: 63.91 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3511, allocations: 65.47 MB / 0.5578 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003581/0.3547, allocations: 1.893 MB / 0.5596 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001786/0.3565, allocations: 1.007 MB / 0.5606 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.3566, allocations: 7.938 kB / 0.5606 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.357, allocations: 43.7 kB / 0.5607 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3573, allocations: 99.47 kB / 0.5608 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3576, allocations: 99.7 kB / 0.5609 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.3578, allocations: 147.5 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.358, allocations: 23.56 kB / 0.561 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3581, allocations: 59.72 kB / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.3582, allocations: 51.7 kB / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.3582, allocations: 8 kB / 0.5611 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3583, allocations: 51.92 kB / 0.5612 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.032e-05/0.3584, allocations: 27.91 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.639e-05/0.3585, allocations: 43.73 kB / 0.5613 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3588, allocations: 159.2 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3588, allocations: 4 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3588, allocations: 0 / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3588, allocations: 0 / 0.5614 GB, free: 3.777 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007199/0.3595, allocations: 411 kB / 0.5618 GB, free: 3.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3596, allocations: 12.03 kB / 0.5618 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.483e-05/0.3596, allocations: 192 / 0.5618 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3596, allocations: 42.73 kB / 0.5619 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.3597, allocations: 16.84 kB / 0.5619 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.36, allocations: 179 kB / 0.562 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.36, allocations: 12.06 kB / 0.562 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.3601, allocations: 8 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3604, allocations: 132.9 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3604, allocations: 0 / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3604, allocations: 4 kB / 0.5622 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3604, allocations: 4 kB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3606, allocations: 47.91 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.3612, allocations: 480 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3615, allocations: 86.66 kB / 0.5628 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3616, allocations: 36.83 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3617, allocations: 0 / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3619, allocations: 113 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3619, allocations: 0 / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004295/0.3623, allocations: 161.4 kB / 0.5631 GB, free: 1.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3624, allocations: 55.41 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3626, allocations: 203.1 kB / 0.5633 GB, free: 1.617 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3626, allocations: 29.7 kB / 0.5633 GB, free: 1.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.3627, allocations: 116.1 kB / 0.5635 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3627, allocations: 35.72 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3628, allocations: 25.72 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3629, allocations: 330.8 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.682e-05/0.363, allocations: 27.98 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3631, allocations: 64.27 kB / 0.5639 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3634, allocations: 96.22 kB / 0.564 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3634, allocations: 4 kB / 0.564 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002889/0.3636, allocations: 141.4 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3637, allocations: 12.06 kB / 0.5642 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.56e-05/0.3637, allocations: 4 kB / 0.5642 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3638, allocations: 3.938 kB / 0.5642 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3639, allocations: 27.98 kB / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3639, allocations: 0 / 0.5642 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.3639, allocations: 20.36 kB / 0.5642 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.364, allocations: 4 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001413/0.3641, allocations: 129.8 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.3641, allocations: 15.91 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.3645, allocations: 142.9 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3645, allocations: 4 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3645, allocations: 0 / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3645, allocations: 0 / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3647, allocations: 176.7 kB / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3647, allocations: 0 / 0.5647 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.3647, allocations: 8 kB / 0.5647 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3647, allocations: 4 kB / 0.5647 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3648, allocations: 3.938 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3648, allocations: 3.984 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3648, allocations: 4 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004271/0.3652, allocations: 193 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3652, allocations: 19.86 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3652, allocations: 11.75 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.3653, allocations: 4 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.3653, allocations: 3.984 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3654, allocations: 4 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.3655, allocations: 151.2 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3655, allocations: 0 / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3658, allocations: 32.05 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002205/0.368, allocations: 1.069 MB / 0.5661 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.3682, allocations: 79.89 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3682, allocations: 0 / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3683, allocations: 36.36 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3686, allocations: 43.84 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3708, allocations: 1.772 MB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.913e-05/0.3709, allocations: 109.8 kB / 0.5681 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.371, allocations: 13.42 kB / 0.5681 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.371, allocations: 43.42 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.371, allocations: 4 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.3965, allocations: 4.221 MB / 0.5723 GB, free: 8.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.74, allocations: 8 kB / 0.5723 GB, free: 8.375 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.020644934033044]