Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.001417/0.001417, allocations: 113.1 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.002371/0.002371, allocations: 217.2 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2482/0.2482, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 0.4962 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003197/0.3461, allocations: 1.733 MB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.348, allocations: 1.053 MB / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.3481, allocations: 0 / 0.5634 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.3485, allocations: 39.77 kB / 0.5635 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003431/0.3488, allocations: 99.53 kB / 0.5636 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.3491, allocations: 79.67 kB / 0.5636 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.3493, allocations: 107.7 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3494, allocations: 9.828 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3495, allocations: 51.73 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.3496, allocations: 35.83 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.3496, allocations: 4 kB / 0.5638 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3497, allocations: 39.98 kB / 0.5639 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.3498, allocations: 15.92 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.469e-05/0.3498, allocations: 43.67 kB / 0.5639 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.3501, allocations: 119.5 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3501, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3501, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.3501, allocations: 7.938 kB / 0.5641 GB, free: 1.008 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.0006159/0.3507, allocations: 345.6 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.3508, allocations: 8.031 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.3508, allocations: 34.73 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.3509, allocations: 16.89 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3512, allocations: 162.9 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3512, allocations: 384 / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3512, allocations: 11.94 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3514, allocations: 53.67 kB / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3514, allocations: 0 / 0.5647 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3514, allocations: 4 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3514, allocations: 0 / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.706e-05/0.3515, allocations: 19.98 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3519, allocations: 256 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.3521, allocations: 62.61 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.3522, allocations: 16.86 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3522, allocations: 3.984 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.3524, allocations: 63.39 kB / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3524, allocations: 0 / 0.5651 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005634/0.3529, allocations: 177.4 kB / 0.5652 GB, free: 15.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.353, allocations: 59.39 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3532, allocations: 202.2 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.3532, allocations: 29.7 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.3533, allocations: 104.1 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.3533, allocations: 31.72 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.3534, allocations: 21.72 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3535, allocations: 326.8 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.3536, allocations: 15.98 kB / 0.566 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.3536, allocations: 41.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.3537, allocations: 65.75 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3537, allocations: 0 / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3539, allocations: 101.5 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.354, allocations: 4 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.354, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.354, allocations: 8.031 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.287e-05/0.3541, allocations: 19.98 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3541, allocations: 3.938 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.705e-05/0.3541, allocations: 8.312 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3541, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.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.0001145/0.3542, allocations: 132.9 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.3543, allocations: 11.91 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.3545, allocations: 107.1 kB / 0.5665 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3545, allocations: 8 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3545, allocations: 4 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3545, allocations: 7.875 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.355, allocations: 358.5 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.355, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.355, allocations: 15.92 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.355, allocations: 3.938 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.355, allocations: 4 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.355, allocations: 4 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.355, allocations: 4.031 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3553, allocations: 200.5 kB / 0.5671 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3553, allocations: 11.95 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.3553, allocations: 11.86 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.3554, allocations: 4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.3554, allocations: 11.94 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3554, allocations: 7.969 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001382/0.3556, allocations: 144.2 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3556, allocations: 4.188 kB / 0.5673 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3558, allocations: 27.92 kB / 0.5673 GB, free: 13.41 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: 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 (8): * Single equations (assignments): 6 * 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.002307/0.3581, allocations: 1.094 MB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3584, allocations: 55.91 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3584, allocations: 4.062 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.3584, allocations: 27.92 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.3588, allocations: 28.55 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3609, allocations: 1.658 MB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3613, allocations: 0.708 MB / 0.5708 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.3614, allocations: 17.27 kB / 0.5708 GB, free: 9.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.224e-05/0.3615, allocations: 35.42 kB / 0.5708 GB, free: 9.832 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3615, allocations: 0 / 0.5708 GB, free: 9.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/0.3902, allocations: 3.634 MB / 0.5744 GB, free: 6.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.57, allocations: 8.734 kB / 0.5744 GB, free: 6.258 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.861933985004725]