Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0008252/0.0008252, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008786/0.0008786, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8705/0.8705, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2263/0.2263, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.77e-05, allocations: 2.281 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001871/0.001889, allocations: 1.71 MB / 441.4 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003044, allocations: 0.9742 MB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.003113, allocations: 3.938 kB / 442.4 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.003387, allocations: 31.83 kB / 442.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.003631, allocations: 103.4 kB / 442.5 MB, free: 1.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.003755, allocations: 79.66 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003883, allocations: 107.6 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.648e-05/0.00397, allocations: 7.938 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.789e-05/0.004038, allocations: 47.89 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.004099, allocations: 27.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.004113, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.004193, allocations: 51.84 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.004239, allocations: 27.86 kB / 442.8 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.004269, allocations: 15.94 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.004411, allocations: 107.6 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004413, allocations: 4 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004414, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004417, allocations: 0 / 443 MB, free: 0.8359 MB / 410.7 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.0003567/0.004774, allocations: 341.6 kB / 443.3 MB, free: 484 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.004804, allocations: 8.031 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.577e-05/0.004829, allocations: 34.69 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.004858, allocations: 16.89 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.005017, allocations: 144.6 kB / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.005027, allocations: 384 / 443.5 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.005043, allocations: 8.312 kB / 443.5 MB, free: 240 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.005142, allocations: 65.92 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.005151, allocations: 0 / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.005161, allocations: 8 kB / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.005165, allocations: 0 / 443.6 MB, free: 160 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.005212, allocations: 23.97 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1557/0.1609, allocations: 248.6 kB / 443.8 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.161, allocations: 54.33 kB / 443.9 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.1611, allocations: 23 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1611, allocations: 6.469 kB / 443.9 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.1612, allocations: 67.47 kB / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1612, allocations: 0 / 444 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003939/0.1616, allocations: 189.4 kB / 444.2 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.1616, allocations: 52.16 kB / 444.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.1617, allocations: 173.6 kB / 444.4 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1617, allocations: 31.02 kB / 444.4 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.1617, allocations: 102.5 kB / 444.5 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1618, allocations: 21.98 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.1618, allocations: 22.78 kB / 444.6 MB, free: 45.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.403e-05/0.1618, allocations: 327.7 kB / 444.9 MB, free: 45.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.1618, allocations: 20.91 kB / 444.9 MB, free: 45.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.1619, allocations: 42.31 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.1619, allocations: 56.39 kB / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.1619, allocations: 0 / 445 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.815e-05/0.162, allocations: 112.1 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1621, allocations: 9.594 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1621, allocations: 0 / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1621, allocations: 4.281 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.1621, allocations: 11.75 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1621, allocations: 3.203 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.1622, allocations: 8.406 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.1622, allocations: 6.156 kB / 445.2 MB, free: 45.58 MB / 410.7 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 4.71e-05/0.1622, allocations: 123.9 kB / 445.3 MB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1622, allocations: 14.08 kB / 445.3 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1624, allocations: 119.5 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1624, allocations: 3.875 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1624, allocations: 0 / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1624, allocations: 7.688 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1626, allocations: 369 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1626, allocations: 2.969 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.1626, allocations: 8 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1626, allocations: 0 / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1626, allocations: 8.391 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1626, allocations: 1.375 kB / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1626, allocations: 0 / 445.8 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1627, allocations: 220.9 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.1628, allocations: 6.328 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1628, allocations: 2.438 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.922e-05/0.1628, allocations: 5.25 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1628, allocations: 6.156 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1628, allocations: 6.109 kB / 446 MB, free: 45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.99e-05/0.1629, allocations: 135.1 kB / 446.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1629, allocations: 2.656 kB / 446.2 MB, free: 44.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001716/0.1631, allocations: 33.41 kB / 446.2 MB, free: 44.89 MB / 410.7 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.0008107/0.1639, allocations: 1.145 MB / 447.4 MB, free: 44.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.164, allocations: 63.94 kB / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.164, allocations: 0 / 447.4 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.164, allocations: 33.3 kB / 447.4 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1642, allocations: 23.03 kB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008396/0.1651, allocations: 1.621 MB / 449.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.238e-05/0.1651, allocations: 85.05 kB / 449.2 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.1652, allocations: 20.64 kB / 449.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1652, allocations: 35.94 kB / 449.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1652, allocations: 0 / 449.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.1781, allocations: 4.183 MB / 453.4 MB, free: 41.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.967, allocations: 3.625 kB / 453.4 MB, free: 41.26 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.986224092543125]