Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001318/0.001318, 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.001456/0.001456, allocations: 215.8 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2303/0.2303, allocations: 44.94 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",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.002276/0.002276, allocations: 63.91 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3711, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003597/0.3747, allocations: 1.9 MB / 0.5589 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3766, allocations: 1.017 MB / 0.5599 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.489e-05/0.3767, allocations: 0 / 0.5599 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.377, allocations: 51.64 kB / 0.5599 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.3773, allocations: 99.53 kB / 0.56 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3775, allocations: 103.6 kB / 0.5601 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000229/0.3778, allocations: 143.5 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3779, allocations: 23.5 kB / 0.5603 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.378, allocations: 59.72 kB / 0.5603 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3781, allocations: 47.7 kB / 0.5604 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3781, allocations: 8 kB / 0.5604 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3782, allocations: 51.97 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.3783, allocations: 19.92 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.146e-05/0.3784, allocations: 39.73 kB / 0.5605 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3786, allocations: 167.2 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3786, allocations: 0 / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3786, allocations: 4 kB / 0.5606 GB, free: 3.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3786, allocations: 0 / 0.5606 GB, free: 3.809 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.0006583/0.3793, allocations: 411 kB / 0.561 GB, free: 3.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3793, allocations: 8.031 kB / 0.561 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.3794, allocations: 42.73 kB / 0.5611 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.3794, allocations: 16.84 kB / 0.5611 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.3797, allocations: 174.9 kB / 0.5613 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3797, allocations: 8.375 kB / 0.5613 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3798, allocations: 11.94 kB / 0.5613 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.38, allocations: 133.9 kB / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.38, allocations: 0 / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.38, allocations: 0 / 0.5614 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3801, allocations: 4 kB / 0.5614 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3802, allocations: 51.91 kB / 0.5615 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.3808, allocations: 476 kB / 0.5619 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3812, allocations: 90.66 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.647e-05/0.3812, allocations: 32.84 kB / 0.562 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3813, allocations: 4 kB / 0.562 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.3815, allocations: 116.9 kB / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3815, allocations: 0 / 0.5622 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004132/0.3819, allocations: 153.4 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3819, allocations: 55.41 kB / 0.5624 GB, free: 1.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3822, allocations: 211.1 kB / 0.5626 GB, free: 1.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3822, allocations: 29.7 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3823, allocations: 116.1 kB / 0.5627 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.3823, allocations: 35.73 kB / 0.5627 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.3824, allocations: 25.72 kB / 0.5628 GB, free: 1.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3825, allocations: 326.8 kB / 0.5631 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/0.3826, allocations: 27.98 kB / 0.5631 GB, free: 1.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3827, allocations: 72.2 kB / 0.5632 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3829, allocations: 92.22 kB / 0.5633 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3829, allocations: 7.938 kB / 0.5633 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002802/0.3832, allocations: 141.4 kB / 0.5634 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3832, allocations: 8.469 kB / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3832, allocations: 0 / 0.5634 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3832, allocations: 8.062 kB / 0.5634 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3833, allocations: 23.98 kB / 0.5634 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3834, allocations: 3.938 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.3834, allocations: 23.83 kB / 0.5635 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3834, allocations: 4 kB / 0.5635 GB, free: 0.6602 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.0001151/0.3836, allocations: 128 kB / 0.5636 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3836, allocations: 15.91 kB / 0.5636 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.3839, allocations: 131 kB / 0.5637 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3839, allocations: 11.94 kB / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3839, allocations: 0 / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3839, allocations: 0 / 0.5637 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3841, allocations: 172.7 kB / 0.5639 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3841, allocations: 0 / 0.5639 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.3842, allocations: 8 kB / 0.5639 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3842, allocations: 4 kB / 0.5639 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3842, allocations: 7.938 kB / 0.5639 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.3842, allocations: 7.922 kB / 0.5639 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3842, allocations: 0 / 0.5639 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.3846, allocations: 192.9 kB / 0.5641 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.3846, allocations: 19.86 kB / 0.5641 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.3847, allocations: 4 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.3847, allocations: 7.938 kB / 0.5641 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.3848, allocations: 7.984 kB / 0.5641 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3848, allocations: 8 kB / 0.5642 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3849, allocations: 147.2 kB / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3849, allocations: 0 / 0.5643 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3852, allocations: 27.98 kB / 0.5643 GB, free: 15.7 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.002219/0.3874, allocations: 1.069 MB / 0.5654 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3876, allocations: 87.77 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3876, allocations: 0 / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3877, allocations: 27.98 kB / 0.5655 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3881, allocations: 55.91 kB / 0.5655 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3903, allocations: 1.766 MB / 0.5673 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3904, allocations: 105.8 kB / 0.5674 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.3905, allocations: 29.41 kB / 0.5674 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.3906, allocations: 39.42 kB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3906, allocations: 0 / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.426, allocations: 4.553 MB / 0.5719 GB, free: 8.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.74, allocations: 11.86 kB / 0.5719 GB, free: 8.055 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.963952322956175]