Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001332/0.001332, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001425/0.001425, allocations: 207.1 kB / 23.73 MB, free: 4.379 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.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3307/0.3307, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 66.04 MB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003817/0.3358, allocations: 1.897 MB / 0.5625 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3377, allocations: 1.01 MB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.3378, allocations: 3.938 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.3381, allocations: 51.69 kB / 0.5635 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.3385, allocations: 99.48 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.3388, allocations: 91.7 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.339, allocations: 155.5 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3391, allocations: 23.56 kB / 0.5639 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3392, allocations: 51.73 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3393, allocations: 59.69 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.3394, allocations: 8 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3395, allocations: 47.98 kB / 0.5641 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.3395, allocations: 31.8 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3396, allocations: 43.72 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.3399, allocations: 147.3 kB / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3399, allocations: 0 / 0.5643 GB, free: 496 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3399, allocations: 3.984 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3399, allocations: 4 kB / 0.5643 GB, free: 488 kB / 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.0006735/0.3406, allocations: 419 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3406, allocations: 8.031 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.3407, allocations: 38.75 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.3407, allocations: 20.83 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.341, allocations: 171 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.3411, allocations: 8.359 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.3411, allocations: 11.94 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.3413, allocations: 137.9 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3414, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3414, allocations: 4 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3414, allocations: 4 kB / 0.5651 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3415, allocations: 43.91 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.3421, allocations: 480.1 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003605/0.3425, allocations: 94.59 kB / 0.5657 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.846e-05/0.3426, allocations: 32.84 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3426, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.3429, allocations: 113 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3429, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004328/0.3433, allocations: 153.4 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.3433, allocations: 59.34 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.3436, allocations: 203.1 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3436, allocations: 33.7 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.803e-05/0.3437, allocations: 112.1 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.3437, allocations: 35.73 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.3438, allocations: 29.66 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3439, allocations: 326.8 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.344, allocations: 31.97 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.3441, allocations: 60.28 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3443, allocations: 104.2 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3443, allocations: 0 / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002779/0.3446, allocations: 137.4 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3446, allocations: 4.469 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3446, allocations: 7.984 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3447, allocations: 3.938 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3448, allocations: 32.06 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3448, allocations: 3.984 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.3449, allocations: 19.83 kB / 0.5671 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3449, allocations: 4 kB / 0.5671 GB, free: 13.33 MB / 414.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.0001239/0.345, allocations: 125.8 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.345, allocations: 19.89 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.3453, allocations: 131 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3454, allocations: 7.938 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3454, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.3454, allocations: 4 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.3456, allocations: 180.7 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3456, allocations: 0 / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.3457, allocations: 8 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3457, allocations: 4 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3457, allocations: 0 / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3457, allocations: 3.938 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3457, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3461, allocations: 192.9 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3461, allocations: 23.92 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.3462, allocations: 11.98 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.3462, allocations: 7.938 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.3463, allocations: 3.984 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3463, allocations: 4 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3464, allocations: 147.2 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 3.938 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.3467, allocations: 27.98 kB / 0.568 GB, free: 12.36 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.002431/0.3491, allocations: 1.074 MB / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.3494, allocations: 75.84 kB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3494, allocations: 4 kB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3495, allocations: 39.91 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3499, allocations: 47.09 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3522, allocations: 1.766 MB / 0.5709 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3523, allocations: 105.8 kB / 0.571 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.3e-05/0.3524, allocations: 25.41 kB / 0.571 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.652e-05/0.3525, allocations: 43.42 kB / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3525, allocations: 0 / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.3852, allocations: 4.582 MB / 0.5755 GB, free: 4.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.26, allocations: 7.453 kB / 0.5755 GB, free: 4.688 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.40241933602374]