Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008286/0.0008286, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009007/0.0009007, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9037/0.9037, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.706e-05, allocations: 10.22 kB / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.1687/0.1687, allocations: 1.662 MB / 443.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.1696, allocations: 0.9548 MB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.1697, allocations: 3.938 kB / 444.9 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1699, allocations: 65.28 kB / 444.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1701, allocations: 109.5 kB / 445 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.1702, allocations: 82.34 kB / 445.1 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1703, allocations: 102.9 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.588e-05/0.1704, allocations: 9.938 kB / 445.2 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.1705, allocations: 60.88 kB / 445.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.1705, allocations: 44.83 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1705, allocations: 5.875 kB / 445.3 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.1706, allocations: 27.97 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1706, allocations: 17.38 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1707, allocations: 24.44 kB / 445.4 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.1708, allocations: 106.2 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1708, allocations: 2.906 kB / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1708, allocations: 0 / 445.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1708, allocations: 0 / 445.5 MB, free: 42.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003235/0.1711, allocations: 334.2 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1712, allocations: 9.156 kB / 445.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.042e-05/0.1712, allocations: 44.08 kB / 445.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.1712, allocations: 12.56 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.1714, allocations: 142.2 kB / 446 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1714, allocations: 0.875 kB / 446 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.677e-06/0.1714, allocations: 5.438 kB / 446 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.1715, allocations: 52.58 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1715, allocations: 192 / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1715, allocations: 4.125 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1715, allocations: 2.906 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.1716, allocations: 19.78 kB / 446.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.1717, allocations: 156 kB / 446.3 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.1717, allocations: 49.41 kB / 446.3 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.1718, allocations: 17.17 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.1718, allocations: 5.906 kB / 446.3 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.251e-05/0.1719, allocations: 64.16 kB / 446.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 6.51e-07/0.1719, allocations: 0 / 446.4 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001684/0.172, allocations: 112.9 kB / 446.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.1721, allocations: 58 kB / 446.6 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.557e-05/0.1722, allocations: 198.2 kB / 446.8 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-06/0.1722, allocations: 32.88 kB / 446.8 MB, free: 41.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.1722, allocations: 100 kB / 446.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.1722, allocations: 21.55 kB / 446.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.1722, allocations: 17.62 kB / 446.9 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.54e-05/0.1723, allocations: 327 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.1723, allocations: 11.56 kB / 447.3 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.1723, allocations: 30.16 kB / 447.3 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.272e-05/0.1724, allocations: 49.64 kB / 447.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1724, allocations: 4 kB / 447.3 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.44e-05/0.1724, allocations: 82.92 kB / 447.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1725, allocations: 5.219 kB / 447.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1725, allocations: 3.938 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1725, allocations: 2.844 kB / 447.4 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.1725, allocations: 12.17 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1725, allocations: 0 / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.1726, allocations: 8.641 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1726, allocations: 6.156 kB / 447.5 MB, free: 41.34 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 (7): * Single equations (assignments): 7 * 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.243e-05/0.1726, allocations: 126 kB / 447.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-06/0.1726, allocations: 9.234 kB / 447.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1727, allocations: 102.3 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1727, allocations: 2.875 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1727, allocations: 3.234 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1727, allocations: 0.8438 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.72e-05/0.1728, allocations: 154.8 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1728, allocations: 0 / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.1728, allocations: 5.906 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1728, allocations: 0 / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1728, allocations: 10.94 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1728, allocations: 3 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1728, allocations: 0 / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.825e-05/0.1729, allocations: 121.4 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.1729, allocations: 8.609 kB / 448 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1729, allocations: 9.938 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.1729, allocations: 3.328 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.1729, allocations: 2.594 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.173, allocations: 6.812 kB / 448 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.173, allocations: 155.3 kB / 448.2 MB, free: 40.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.173, allocations: 4 kB / 448.2 MB, free: 40.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.1732, allocations: 17.12 kB / 448.2 MB, free: 40.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006978/0.1739, allocations: 0.9791 MB / 449.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.186e-05/0.174, allocations: 49.56 kB / 449.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.174, allocations: 0 / 449.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.042e-05/0.174, allocations: 20.11 kB / 449.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.1742, allocations: 23.12 kB / 449.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.1749, allocations: 1.537 MB / 450.8 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.175, allocations: 90.38 kB / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.284e-05/0.175, allocations: 12.31 kB / 450.9 MB, free: 38.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.175, allocations: 33.33 kB / 450.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.175, allocations: 0 / 450.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1895, allocations: 3.974 MB / 454.9 MB, free: 37.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.191, allocations: 0 / 454.9 MB, free: 37.44 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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: 9.26413738168776]