Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001073/0.001073, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0013/0.0013, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9331/0.9331, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2476/0.2476, allocations: 32.79 MB / 293.5 MB, free: 1.242 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.62e-05, allocations: 4.672 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002568/0.002595, allocations: 1.708 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003755, allocations: 0.982 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.00383, allocations: 3.938 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.004152, allocations: 75.7 kB / 442.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.004443, allocations: 127.4 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.004603, allocations: 75.67 kB / 442.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.004779, allocations: 127.5 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.004877, allocations: 4 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.004968, allocations: 63.86 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.005071, allocations: 59.81 kB / 442.9 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.005087, allocations: 4 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.005173, allocations: 47.86 kB / 442.9 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.005235, allocations: 19.92 kB / 443 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.005281, allocations: 19.92 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.005497, allocations: 127.5 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.005501, allocations: 4 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005503, allocations: 0 / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005508, allocations: 0 / 443.1 MB, free: 0.707 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.0004957/0.006004, allocations: 349.5 kB / 443.5 MB, free: 344 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.006046, allocations: 12.02 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.006077, allocations: 38.69 kB / 443.5 MB, free: 284 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.00611, allocations: 16.84 kB / 443.5 MB, free: 268 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.006328, allocations: 153.5 kB / 443.7 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00634, allocations: 4.375 kB / 443.7 MB, free: 84 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.006359, allocations: 12.31 kB / 443.7 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.006489, allocations: 57.98 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.006498, allocations: 0 / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.006507, allocations: 0 / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006513, allocations: 4 kB / 443.7 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.171/0.1775, allocations: 22.31 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.1779, allocations: 255 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.178, allocations: 56.08 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.178, allocations: 21.23 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.178, allocations: 5.844 kB / 444.1 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.1782, allocations: 68.94 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.1782, allocations: 0 / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004137/0.1786, allocations: 182.8 kB / 444.3 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.1786, allocations: 57.62 kB / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1787, allocations: 230.4 kB / 444.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.1787, allocations: 25.7 kB / 444.6 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.1788, allocations: 109.1 kB / 444.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.1788, allocations: 31.7 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1788, allocations: 22.19 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.16e-05/0.1788, allocations: 329 kB / 445.1 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.1789, allocations: 22.56 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.1789, allocations: 39.56 kB / 445.2 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.179, allocations: 56.45 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.179, allocations: 3.938 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001097/0.1791, allocations: 109.6 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.1791, allocations: 5.781 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1791, allocations: 3.344 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1791, allocations: 3.094 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.1792, allocations: 14.7 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1792, allocations: 5.984 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.1792, allocations: 3.875 kB / 445.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1792, allocations: 2.812 kB / 445.4 MB, free: 45.54 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 6.277e-05/0.1793, allocations: 139.5 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.1793, allocations: 17.44 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1795, allocations: 119.7 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1795, allocations: 2.938 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1795, allocations: 0 / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1795, allocations: 3.375 kB / 445.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1797, allocations: 371.3 kB / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1797, allocations: 0 / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.397e-05/0.1798, allocations: 12.56 kB / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1798, allocations: 4.078 kB / 446 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1798, allocations: 8.281 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1798, allocations: 2.812 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1798, allocations: 3.938 kB / 446.1 MB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.1799, allocations: 212.9 kB / 446.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.1799, allocations: 17.38 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1799, allocations: 6.547 kB / 446.3 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.1799, allocations: 7.562 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.18, allocations: 5.672 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.18, allocations: 12.34 kB / 446.3 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.679e-05/0.18, allocations: 174.6 kB / 446.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.18, allocations: 0 / 446.5 MB, free: 44.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.1802, allocations: 25.53 kB / 446.5 MB, free: 44.77 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.000852/0.1811, allocations: 1.147 MB / 447.7 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.1812, allocations: 54.95 kB / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1812, allocations: 0 / 447.7 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1812, allocations: 34.78 kB / 447.7 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.1815, allocations: 31.8 kB / 447.8 MB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.1825, allocations: 1.73 MB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.1825, allocations: 103.7 kB / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.1825, allocations: 17.05 kB / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.1826, allocations: 40.31 kB / 449.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1826, allocations: 0 / 449.7 MB, free: 42.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.199, allocations: 4.402 MB / 454.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/7.123, allocations: 3.516 kB / 454.1 MB, free: 41.09 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.307630570605397]