Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001382/0.001382, 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.001488/0.001488, allocations: 215.3 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2329/0.2329, allocations: 44.94 MB / 358.8 MB, free: 6.055 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.002296/0.002296, allocations: 63.89 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3326, allocations: 65.48 MB / 0.557 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003657/0.3363, allocations: 1.701 MB / 0.5587 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3382, allocations: 0.9754 MB / 0.5597 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.664e-05/0.3383, allocations: 3.938 kB / 0.5597 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.3386, allocations: 55.75 kB / 0.5597 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.339, allocations: 103.6 kB / 0.5598 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3392, allocations: 79.67 kB / 0.5599 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.3394, allocations: 103.7 kB / 0.56 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.3395, allocations: 9.828 kB / 0.56 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.3396, allocations: 39.8 kB / 0.56 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.3397, allocations: 43.7 kB / 0.5601 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3397, allocations: 4 kB / 0.5601 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.3398, allocations: 39.98 kB / 0.5601 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3398, allocations: 27.91 kB / 0.5601 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.99e-05/0.3399, allocations: 31.75 kB / 0.5602 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.3401, allocations: 143.4 kB / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3401, allocations: 0 / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3401, allocations: 0 / 0.5603 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3401, allocations: 0 / 0.5603 GB, free: 4.004 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006019/0.3407, allocations: 385.2 kB / 0.5607 GB, free: 3.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3408, allocations: 8.031 kB / 0.5607 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.3408, allocations: 30.75 kB / 0.5607 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.3409, allocations: 16.84 kB / 0.5607 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3412, allocations: 159.3 kB / 0.5609 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3412, allocations: 8.359 kB / 0.5609 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3412, allocations: 7.938 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3414, allocations: 57.67 kB / 0.5609 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3414, allocations: 0 / 0.5609 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.3414, allocations: 3.938 kB / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3414, allocations: 0 / 0.561 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.3415, allocations: 19.98 kB / 0.561 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.342, allocations: 275.9 kB / 0.5612 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3422, allocations: 54.67 kB / 0.5613 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.3422, allocations: 28.78 kB / 0.5613 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3423, allocations: 4 kB / 0.5613 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3424, allocations: 67.38 kB / 0.5614 GB, free: 2.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3424, allocations: 3.938 kB / 0.5614 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000598/0.343, allocations: 193.3 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3431, allocations: 55.34 kB / 0.5616 GB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.3434, allocations: 279.7 kB / 0.5619 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3434, allocations: 33.7 kB / 0.5619 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.3435, allocations: 112.1 kB / 0.562 GB, free: 2.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3435, allocations: 31.78 kB / 0.5621 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.3436, allocations: 25.72 kB / 0.5621 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3438, allocations: 330.8 kB / 0.5624 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.3438, allocations: 16 kB / 0.5624 GB, free: 1.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.3439, allocations: 37.7 kB / 0.5625 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.344, allocations: 65.64 kB / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.344, allocations: 0 / 0.5625 GB, free: 1.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.3442, allocations: 117.5 kB / 0.5626 GB, free: 1.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3443, allocations: 8 kB / 0.5626 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3443, allocations: 4.031 kB / 0.5626 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3443, allocations: 0 / 0.5626 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.534e-05/0.3444, allocations: 19.98 kB / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3444, allocations: 0 / 0.5627 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.3444, allocations: 7.938 kB / 0.5627 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3444, allocations: 4 kB / 0.5627 GB, free: 1.371 MB / 398.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.0001318/0.3446, allocations: 133.8 kB / 0.5628 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3446, allocations: 11.91 kB / 0.5628 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.3449, allocations: 131 kB / 0.5629 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3449, allocations: 8 kB / 0.5629 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3449, allocations: 384 / 0.5629 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.3449, allocations: 3.938 kB / 0.5629 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3454, allocations: 370.4 kB / 0.5633 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3454, allocations: 4 kB / 0.5633 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.3455, allocations: 19.92 kB / 0.5633 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3455, allocations: 3.938 kB / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3455, allocations: 0 / 0.5633 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3455, allocations: 4.281 kB / 0.5633 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3455, allocations: 0 / 0.5633 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.3458, allocations: 224.2 kB / 0.5635 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.3458, allocations: 15.89 kB / 0.5636 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.3459, allocations: 11.88 kB / 0.5636 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.3459, allocations: 0 / 0.5636 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.346, allocations: 15.97 kB / 0.5636 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.346, allocations: 4 kB / 0.5636 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.3462, allocations: 204.6 kB / 0.5638 GB, free: 136 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3462, allocations: 0 / 0.5638 GB, free: 136 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.3465, allocations: 31.89 kB / 0.5638 GB, free: 104 kB / 398.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.002367/0.3488, allocations: 1.14 MB / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.349, allocations: 59.91 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.349, allocations: 0 / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.351e-05/0.3491, allocations: 32.16 kB / 0.565 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3495, allocations: 32.05 kB / 0.565 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3517, allocations: 1.847 MB / 0.5668 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3518, allocations: 101.1 kB / 0.5669 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.754e-05/0.3519, allocations: 21.03 kB / 0.567 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.3519, allocations: 43.42 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3519, allocations: 0 / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.3862, allocations: 4.48 MB / 0.5714 GB, free: 8.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 12.86 kB / 0.5714 GB, free: 8.496 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.72094003111124]