Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001455/0.001455, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2328/0.2328, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 179] 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002189/0.002189, allocations: 68.12 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3156, allocations: 65.48 MB / 0.557 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003147/0.3188, allocations: 1.795 MB / 0.5588 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3206, allocations: 1.041 MB / 0.5598 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.3207, allocations: 0 / 0.5598 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.3213, allocations: 303.2 kB / 0.5601 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005938/0.3219, allocations: 259.1 kB / 0.5603 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.3221, allocations: 107.7 kB / 0.5604 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.3226, allocations: 267.2 kB / 0.5607 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.803e-05/0.3226, allocations: 13.81 kB / 0.5607 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3228, allocations: 131.5 kB / 0.5608 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3231, allocations: 208 kB / 0.561 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.3231, allocations: 8 kB / 0.561 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3232, allocations: 47.98 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.3234, allocations: 136.4 kB / 0.5612 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.3235, allocations: 107.1 kB / 0.5613 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.324, allocations: 380.3 kB / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.324, allocations: 0 / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.324, allocations: 0 / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.324, allocations: 4 kB / 0.5617 GB, free: 2.863 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.001024/0.325, allocations: 0.6785 MB / 0.5623 GB, free: 2.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3251, allocations: 12.03 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.3251, allocations: 34.75 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.3252, allocations: 48.61 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.3258, allocations: 386.6 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3258, allocations: 384 / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.3259, allocations: 11.92 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.3261, allocations: 87.31 kB / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3261, allocations: 0 / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3261, allocations: 7.984 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3261, allocations: 0 / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3262, allocations: 31.98 kB / 0.5629 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.3266, allocations: 329.5 kB / 0.5632 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.3269, allocations: 113.1 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.327, allocations: 37.69 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.327, allocations: 8 kB / 0.5634 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.3272, allocations: 105 kB / 0.5635 GB, free: 0.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3272, allocations: 4 kB / 0.5635 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004851/0.3277, allocations: 213.6 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.3278, allocations: 81.11 kB / 0.5638 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.329, allocations: 1.034 MB / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.329, allocations: 29.7 kB / 0.5648 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3292, allocations: 236 kB / 0.565 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3293, allocations: 27.84 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3293, allocations: 29.72 kB / 0.5651 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3295, allocations: 370.8 kB / 0.5655 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.3296, allocations: 35.92 kB / 0.5655 GB, free: 14.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3297, allocations: 63.41 kB / 0.5655 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3299, allocations: 87.36 kB / 0.5656 GB, free: 14.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3299, allocations: 3.938 kB / 0.5656 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003129/0.3302, allocations: 189.2 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3302, allocations: 4 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3302, allocations: 0 / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3302, allocations: 4 kB / 0.5658 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3304, allocations: 19.98 kB / 0.5658 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3304, allocations: 0 / 0.5658 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.3305, allocations: 19.88 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3305, allocations: 8 kB / 0.5659 GB, free: 14.31 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002152/0.3307, allocations: 217.7 kB / 0.5661 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.3308, allocations: 51.67 kB / 0.5661 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.3312, allocations: 214 kB / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.3312, allocations: 0 / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3312, allocations: 4 kB / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3312, allocations: 0 / 0.5663 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.3315, allocations: 292.5 kB / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3315, allocations: 0 / 0.5666 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.3315, allocations: 12 kB / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3315, allocations: 0 / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3315, allocations: 0 / 0.5666 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3315, allocations: 7.984 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3315, allocations: 4 kB / 0.5666 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3319, allocations: 225.4 kB / 0.5668 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3321, allocations: 67.59 kB / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3321, allocations: 0 / 0.5669 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.3322, allocations: 11.98 kB / 0.5669 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3322, allocations: 7.984 kB / 0.5669 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.3323, allocations: 8 kB / 0.5669 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008602/0.3331, allocations: 0.7721 MB / 0.5677 GB, free: 12.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3331, allocations: 0 / 0.5677 GB, free: 12.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.3334, allocations: 40 kB / 0.5677 GB, free: 12.32 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002269/0.3356, allocations: 1.113 MB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.3359, allocations: 87.89 kB / 0.5689 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3359, allocations: 0 / 0.5689 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3361, allocations: 43.91 kB / 0.5689 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.3365, allocations: 61.94 kB / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005935/0.3424, allocations: 4.503 MB / 0.5734 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3427, allocations: 237.7 kB / 0.5736 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.3428, allocations: 58.94 kB / 0.5737 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.343, allocations: 155.4 kB / 0.5738 GB, free: 6.102 MB / 414.1 MB Notification: Performance of SimCode: time 9.31e-07/0.343, allocations: 0 / 0.5738 GB, free: 6.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.3833, allocations: 9.824 MB / 0.5834 GB, free: 12.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 14.7 kB / 0.5834 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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: 15.114309276919812]