Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.000733/0.000733, allocations: 79.69 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.0008063/0.0008063, allocations: 170 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.9187/0.9187, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2525/0.2525, allocations: 32.79 MB / 293.5 MB, free: 1.25 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.655e-05, allocations: 8.891 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003497/0.003524, allocations: 1.704 MB / 441.4 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004812, allocations: 0.9858 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.004897, allocations: 4 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.005197, allocations: 31.84 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004024/0.005599, allocations: 103.4 kB / 442.5 MB, free: 1.312 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.005831, allocations: 79.66 kB / 442.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.005998, allocations: 115.5 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.006093, allocations: 4 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.006175, allocations: 47.91 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.006255, allocations: 31.89 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.006273, allocations: 4 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.006361, allocations: 47.86 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.006415, allocations: 27.86 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.006453, allocations: 19.92 kB / 442.9 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.006644, allocations: 111.6 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006648, allocations: 11.98 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.00665, allocations: 0 / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.006654, allocations: 0 / 443 MB, free: 0.8203 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.0004383/0.007092, allocations: 341.5 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007132, allocations: 12.03 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.007163, allocations: 42.67 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.007198, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.007429, allocations: 150.2 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.007443, allocations: 8.312 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.007463, allocations: 4.375 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.007589, allocations: 61.98 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.007599, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.007609, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.007614, allocations: 4 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.007668, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1881/0.1958, allocations: 250.5 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.196, allocations: 55.44 kB / 443.9 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.196, allocations: 24.8 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.196, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.1961, allocations: 73.2 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1961, allocations: 0 / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000439/0.1966, allocations: 183.6 kB / 444.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.1966, allocations: 55.19 kB / 444.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1967, allocations: 203.2 kB / 444.5 MB, free: 46.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.1967, allocations: 35.3 kB / 444.5 MB, free: 46.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.1968, allocations: 97.33 kB / 444.6 MB, free: 45.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1968, allocations: 28.42 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.1968, allocations: 22.84 kB / 444.6 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.1968, allocations: 329.9 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.1969, allocations: 20.28 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.1969, allocations: 41.48 kB / 445 MB, free: 45.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.197, allocations: 58.62 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.197, allocations: 0.9844 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001072/0.1971, allocations: 112.5 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1971, allocations: 6.125 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1971, allocations: 0.8125 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1971, allocations: 3.031 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1972, allocations: 19.36 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1972, allocations: 4.141 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.1972, allocations: 2.938 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1972, allocations: 7.438 kB / 445.2 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 5.329e-05/0.1973, allocations: 128.2 kB / 445.4 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.1973, allocations: 16.8 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.1975, allocations: 124.2 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1975, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1975, allocations: 0 / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1975, allocations: 3.281 kB / 445.5 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.1977, allocations: 378.2 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1977, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.1978, allocations: 10.62 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1978, allocations: 6.219 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1978, allocations: 2.344 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1978, allocations: 4.344 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1978, allocations: 0 / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.1979, allocations: 215.4 kB / 446.1 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.1979, allocations: 16.84 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1979, allocations: 1.031 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.1979, allocations: 6.719 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.198, allocations: 5.656 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.198, allocations: 8.875 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.1981, allocations: 147.8 kB / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1981, allocations: 0 / 446.3 MB, free: 44.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.1982, allocations: 29.02 kB / 446.3 MB, free: 44.85 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.0009133/0.1991, allocations: 1.143 MB / 447.5 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.1993, allocations: 58.3 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1993, allocations: 0 / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.1993, allocations: 28.94 kB / 447.5 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.1996, allocations: 31.72 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2006, allocations: 1.673 MB / 449.2 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.2006, allocations: 92.83 kB / 449.3 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.2007, allocations: 20.08 kB / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.2007, allocations: 37.48 kB / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2007, allocations: 0 / 449.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.2238, allocations: 4.294 MB / 453.7 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.19, allocations: 14.16 kB / 453.7 MB, free: 41.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.349050479009748]