Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001363/0.001363, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001612/0.001612, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.2359/0.2359, allocations: 44.92 MB / 358.8 MB, free: 6.07 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.00211/0.00211, allocations: 63.91 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003183/0.3472, allocations: 1.713 MB / 0.5587 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.349, allocations: 0.9715 MB / 0.5597 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.349, allocations: 3.938 kB / 0.5597 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.3493, allocations: 55.75 kB / 0.5597 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.3497, allocations: 99.61 kB / 0.5598 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.3499, allocations: 83.66 kB / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.35, allocations: 103.7 kB / 0.56 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.157e-05/0.3501, allocations: 13.8 kB / 0.56 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.3502, allocations: 39.8 kB / 0.56 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.408e-05/0.3503, allocations: 31.78 kB / 0.5601 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.3503, allocations: 4 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3504, allocations: 43.97 kB / 0.5601 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.3505, allocations: 31.86 kB / 0.5601 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.3505, allocations: 35.75 kB / 0.5602 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.3508, allocations: 139.4 kB / 0.5603 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3508, allocations: 4 kB / 0.5603 GB, free: 4.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3508, allocations: 0 / 0.5603 GB, free: 4.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3508, allocations: 0 / 0.5603 GB, free: 4.145 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.0006123/0.3514, allocations: 377.2 kB / 0.5607 GB, free: 3.746 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3514, allocations: 12.03 kB / 0.5607 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.3515, allocations: 34.69 kB / 0.5607 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.3515, allocations: 16.84 kB / 0.5607 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3518, allocations: 155.3 kB / 0.5609 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3518, allocations: 4.375 kB / 0.5609 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3518, allocations: 11.92 kB / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.352, allocations: 53.67 kB / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.352, allocations: 0 / 0.5609 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.352, allocations: 7.938 kB / 0.561 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.352, allocations: 0 / 0.561 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.315e-05/0.3521, allocations: 23.98 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3525, allocations: 271.9 kB / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3527, allocations: 50.69 kB / 0.5613 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.3527, allocations: 28.78 kB / 0.5613 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3528, allocations: 0 / 0.5613 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.3529, allocations: 71.33 kB / 0.5614 GB, free: 2.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3529, allocations: 0 / 0.5614 GB, free: 2.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006113/0.3535, allocations: 193.3 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3536, allocations: 51.41 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3539, allocations: 279.7 kB / 0.5619 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.3539, allocations: 29.7 kB / 0.5619 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.354, allocations: 120.1 kB / 0.562 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.354, allocations: 35.77 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.3541, allocations: 21.72 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3542, allocations: 330.8 kB / 0.5624 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.3543, allocations: 16 kB / 0.5624 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.3544, allocations: 38.08 kB / 0.5624 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3545, allocations: 61.72 kB / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3545, allocations: 0 / 0.5625 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.3547, allocations: 125.5 kB / 0.5626 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3547, allocations: 8.031 kB / 0.5626 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3547, allocations: 0 / 0.5626 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3548, allocations: 0 / 0.5626 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.3548, allocations: 19.98 kB / 0.5627 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3549, allocations: 0 / 0.5627 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.3549, allocations: 7.938 kB / 0.5627 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3549, allocations: 3.938 kB / 0.5627 GB, free: 1.523 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.0001288/0.355, allocations: 140.8 kB / 0.5628 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.3551, allocations: 15.91 kB / 0.5628 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.3553, allocations: 127 kB / 0.5629 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3553, allocations: 4 kB / 0.5629 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3553, allocations: 3.984 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3554, allocations: 3.938 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.3559, allocations: 378.4 kB / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3559, allocations: 0 / 0.5633 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.3559, allocations: 16.2 kB / 0.5633 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3559, allocations: 3.938 kB / 0.5633 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3559, allocations: 4 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3559, allocations: 3.938 kB / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3559, allocations: 0 / 0.5633 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.3562, allocations: 220.3 kB / 0.5635 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.3562, allocations: 19.89 kB / 0.5636 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3563, allocations: 3.938 kB / 0.5636 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.3563, allocations: 8 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3564, allocations: 3.984 kB / 0.5636 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3564, allocations: 4 kB / 0.5636 GB, free: 500 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3566, allocations: 208.6 kB / 0.5638 GB, free: 292 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3566, allocations: 0 / 0.5638 GB, free: 292 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.3568, allocations: 31.89 kB / 0.5638 GB, free: 260 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.002359/0.3592, allocations: 1.139 MB / 0.5649 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3594, allocations: 55.86 kB / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3594, allocations: 0 / 0.565 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.3595, allocations: 40.14 kB / 0.565 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3599, allocations: 41.92 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3621, allocations: 1.843 MB / 0.5669 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.3623, allocations: 103.6 kB / 0.567 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.3623, allocations: 17.03 kB / 0.567 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.3624, allocations: 43.42 kB / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3624, allocations: 0 / 0.567 GB, free: 13.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.3928, allocations: 4.481 MB / 0.5714 GB, free: 8.645 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 3.375 kB / 0.5714 GB, free: 8.645 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.700983690097928]