Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.002068/0.002068, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001881/0.001881, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.434/1.434, allocations: 230.6 MB / 257.5 MB, free: 8 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.2278/0.2278, allocations: 44.91 MB / 358.8 MB, free: 6.297 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.002913/0.002913, allocations: 71.89 kB / 0.4931 GB, free: 10.69 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2998, allocations: 65.47 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003168/0.303, allocations: 1.839 MB / 0.5589 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.3058, allocations: 1.809 MB / 0.5606 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.3059, allocations: 4 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.3062, allocations: 51.64 kB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.3066, allocations: 139.4 kB / 0.5608 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.3068, allocations: 107.7 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.3071, allocations: 207.3 kB / 0.5611 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.3071, allocations: 9.75 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.3073, allocations: 91.64 kB / 0.5612 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.3075, allocations: 98.48 kB / 0.5613 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.3076, allocations: 11.94 kB / 0.5613 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.3078, allocations: 115.9 kB / 0.5614 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.3078, allocations: 35.91 kB / 0.5615 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.3079, allocations: 59.59 kB / 0.5615 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.3083, allocations: 232.8 kB / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3083, allocations: 0 / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3083, allocations: 0 / 0.5618 GB, free: 2.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3083, allocations: 3.984 kB / 0.5618 GB, free: 2.965 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006992/0.309, allocations: 432.9 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.309, allocations: 8.031 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.3091, allocations: 38.73 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3091, allocations: 16.84 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3095, allocations: 198.1 kB / 0.5624 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3095, allocations: 4.375 kB / 0.5624 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.3095, allocations: 11.94 kB / 0.5624 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3097, allocations: 93.09 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3097, allocations: 0 / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3097, allocations: 7.984 kB / 0.5625 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3097, allocations: 0 / 0.5625 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3098, allocations: 31.92 kB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.3101, allocations: 193.5 kB / 0.5627 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3104, allocations: 109.1 kB / 0.5629 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.3105, allocations: 33.7 kB / 0.5629 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.3105, allocations: 3.984 kB / 0.5629 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.3107, allocations: 113.1 kB / 0.563 GB, free: 1.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3107, allocations: 3.938 kB / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004689/0.3112, allocations: 165.9 kB / 0.5632 GB, free: 1.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3113, allocations: 132.5 kB / 0.5633 GB, free: 1.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.3116, allocations: 244.1 kB / 0.5635 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3116, allocations: 29.7 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.3117, allocations: 116.1 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.3117, allocations: 31.73 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.3118, allocations: 33.7 kB / 0.5637 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.312, allocations: 326.8 kB / 0.564 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.07e-05/0.3121, allocations: 32.05 kB / 0.5641 GB, free: 372 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3122, allocations: 77.12 kB / 0.5641 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3124, allocations: 91.3 kB / 0.5642 GB, free: 172 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3124, allocations: 3.938 kB / 0.5642 GB, free: 168 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002828/0.3127, allocations: 137.6 kB / 0.5644 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3127, allocations: 4 kB / 0.5644 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3127, allocations: 3.938 kB / 0.5644 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3127, allocations: 4 kB / 0.5644 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3128, allocations: 19.98 kB / 0.5644 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3128, allocations: 7.938 kB / 0.5644 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.3129, allocations: 11.95 kB / 0.5644 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3129, allocations: 4 kB / 0.5644 GB, free: 15.97 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001322/0.3131, allocations: 142.3 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.3131, allocations: 15.91 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.3135, allocations: 150.9 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3135, allocations: 0 / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3135, allocations: 0 / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3135, allocations: 4 kB / 0.5647 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.3137, allocations: 208.5 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3137, allocations: 3.938 kB / 0.5649 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.3137, allocations: 8 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3137, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3137, allocations: 8 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3137, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3137, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.314, allocations: 173.7 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.3141, allocations: 15.91 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.3141, allocations: 0 / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.3142, allocations: 11.98 kB / 0.5651 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.3142, allocations: 11.98 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3142, allocations: 4 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.3144, allocations: 177.8 kB / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3144, allocations: 0 / 0.5653 GB, free: 14.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3147, allocations: 51.86 kB / 0.5654 GB, free: 14.92 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002355/0.3171, allocations: 1.115 MB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.3173, allocations: 79.95 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3173, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3174, allocations: 36.23 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3178, allocations: 56.56 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.3202, allocations: 1.896 MB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3205, allocations: 0.7203 MB / 0.5692 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.565e-05/0.3206, allocations: 33.61 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3207, allocations: 55.41 kB / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3207, allocations: 4 kB / 0.5692 GB, free: 10.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3541, allocations: 5.511 MB / 0.5746 GB, free: 5.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.67, allocations: 6.328 kB / 0.5746 GB, free: 5.496 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.780867192006554]