Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001738/0.001738, 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.002192/0.002192, 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2276/0.2276, allocations: 44.93 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.002028/0.002028, allocations: 67.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 65.48 MB / 0.557 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.004045/0.3269, allocations: 1.71 MB / 0.5587 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3288, allocations: 0.9676 MB / 0.5596 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.581e-05/0.3289, allocations: 7.938 kB / 0.5597 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.3292, allocations: 35.83 kB / 0.5597 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.3296, allocations: 99.53 kB / 0.5598 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.3298, allocations: 79.67 kB / 0.5599 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.33, allocations: 103.7 kB / 0.56 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3302, allocations: 9.828 kB / 0.56 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.3302, allocations: 43.8 kB / 0.56 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.629e-05/0.3303, allocations: 39.77 kB / 0.56 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3304, allocations: 4 kB / 0.5601 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3305, allocations: 39.98 kB / 0.5601 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.3305, allocations: 15.94 kB / 0.5601 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.3306, allocations: 27.8 kB / 0.5601 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3309, allocations: 119.5 kB / 0.5602 GB, free: 4.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3309, allocations: 0 / 0.5602 GB, free: 4.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3309, allocations: 0 / 0.5602 GB, free: 4.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.3309, allocations: 0 / 0.5602 GB, free: 4.051 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.0006024/0.3315, allocations: 345.5 kB / 0.5606 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3315, allocations: 12.03 kB / 0.5606 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.542e-05/0.3316, allocations: 34.75 kB / 0.5606 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.3317, allocations: 8.891 kB / 0.5606 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.3319, allocations: 140 kB / 0.5608 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.332, allocations: 8.375 kB / 0.5608 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.332, allocations: 7.938 kB / 0.5608 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.3322, allocations: 57.61 kB / 0.5608 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3322, allocations: 0 / 0.5608 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3322, allocations: 3.984 kB / 0.5608 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3322, allocations: 0 / 0.5608 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.3323, allocations: 27.92 kB / 0.5609 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.3327, allocations: 259.9 kB / 0.5611 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3329, allocations: 50.69 kB / 0.5612 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.3329, allocations: 24.84 kB / 0.5612 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3329, allocations: 0 / 0.5612 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3331, allocations: 71.33 kB / 0.5613 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3331, allocations: 0 / 0.5613 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006031/0.3337, allocations: 185.4 kB / 0.5614 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3338, allocations: 51.41 kB / 0.5615 GB, free: 2.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.334, allocations: 174.2 kB / 0.5616 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.334, allocations: 29.7 kB / 0.5617 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.3341, allocations: 104.1 kB / 0.5618 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3341, allocations: 23.8 kB / 0.5618 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3341, allocations: 29.7 kB / 0.5618 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3343, allocations: 322.8 kB / 0.5621 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.3344, allocations: 20 kB / 0.5621 GB, free: 1.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.3344, allocations: 41.69 kB / 0.5622 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3346, allocations: 61.66 kB / 0.5622 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3346, allocations: 0 / 0.5622 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.3348, allocations: 105.6 kB / 0.5623 GB, free: 1.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3348, allocations: 11.94 kB / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3348, allocations: 0 / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3348, allocations: 0 / 0.5624 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3349, allocations: 19.98 kB / 0.5624 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3349, allocations: 4.141 kB / 0.5624 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.335, allocations: 11.92 kB / 0.5624 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.335, allocations: 8.031 kB / 0.5624 GB, free: 1.633 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.0001111/0.3351, allocations: 121.8 kB / 0.5625 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.3351, allocations: 8.328 kB / 0.5625 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3354, allocations: 122.3 kB / 0.5626 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3354, allocations: 4 kB / 0.5626 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3354, allocations: 0 / 0.5626 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3354, allocations: 11.88 kB / 0.5627 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.3359, allocations: 362.4 kB / 0.563 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3359, allocations: 0 / 0.563 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.336, allocations: 15.97 kB / 0.563 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.336, allocations: 7.938 kB / 0.563 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.336, allocations: 3.984 kB / 0.563 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.336, allocations: 0 / 0.563 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.336, allocations: 4 kB / 0.563 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3363, allocations: 204.6 kB / 0.5632 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.3363, allocations: 16 kB / 0.5632 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3363, allocations: 11.88 kB / 0.5633 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.3364, allocations: 3.984 kB / 0.5633 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3364, allocations: 11.98 kB / 0.5633 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3364, allocations: 11.98 kB / 0.5633 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3366, allocations: 136.1 kB / 0.5634 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3366, allocations: 0 / 0.5634 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3368, allocations: 23.94 kB / 0.5634 GB, free: 496 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.002358/0.3392, allocations: 1.132 MB / 0.5645 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3394, allocations: 59.91 kB / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3394, allocations: 0 / 0.5646 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.3395, allocations: 31.92 kB / 0.5646 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3398, allocations: 30.73 kB / 0.5647 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3417, allocations: 1.629 MB / 0.5662 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.411e-05/0.3418, allocations: 89.31 kB / 0.5663 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.668e-05/0.3418, allocations: 12.98 kB / 0.5663 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.3419, allocations: 31.42 kB / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3419, allocations: 0 / 0.5664 GB, free: 13.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.3753, allocations: 4.03 MB / 0.5703 GB, free: 9.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 10.56 kB / 0.5703 GB, free: 9.574 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.769794316962361]