Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.000813/0.000813, 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.0008435/0.0008435, allocations: 174.3 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.8687/0.8687, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2313/0.2313, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] 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.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 4 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.079e-05, allocations: 2.281 kB / 442.3 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.1594/0.1594, allocations: 1.709 MB / 444 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1605, allocations: 0.9745 MB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.1605, allocations: 3.969 kB / 445 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1608, allocations: 87.77 kB / 445 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.161, allocations: 115.2 kB / 445.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001151/0.1611, allocations: 75.88 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1612, allocations: 124.9 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.1613, allocations: 7.344 kB / 445.4 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.1614, allocations: 70.16 kB / 445.4 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.1615, allocations: 57.89 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1615, allocations: 6.531 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-05/0.1616, allocations: 44.08 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.1616, allocations: 22.8 kB / 445.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.1616, allocations: 27.75 kB / 445.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1618, allocations: 120.2 kB / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1618, allocations: 0 / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1618, allocations: 0 / 445.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.1618, allocations: 0 / 445.7 MB, free: 42.96 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.0003273/0.1621, allocations: 348.5 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1621, allocations: 11.16 kB / 446 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.895e-05/0.1622, allocations: 35.69 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1622, allocations: 14.09 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.1623, allocations: 165.7 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1624, allocations: 3.25 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1624, allocations: 3.156 kB / 446.3 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.936e-05/0.1625, allocations: 67.75 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1625, allocations: 0 / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1625, allocations: 0 / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1625, allocations: 2.562 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.483e-05/0.1625, allocations: 19.33 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.1628, allocations: 260.1 kB / 446.6 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.82e-05/0.1629, allocations: 57.38 kB / 446.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.886e-05/0.1629, allocations: 20.17 kB / 446.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1629, allocations: 0 / 446.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.363e-05/0.163, allocations: 69.52 kB / 446.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.163, allocations: 3.938 kB / 446.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.1634, allocations: 184.1 kB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.1634, allocations: 51.41 kB / 447 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1635, allocations: 222.1 kB / 447.2 MB, free: 41.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.1635, allocations: 33.58 kB / 447.2 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.1635, allocations: 111.1 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1636, allocations: 29.27 kB / 447.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.1636, allocations: 23.59 kB / 447.4 MB, free: 41.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.287e-05/0.1636, allocations: 331.5 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.1637, allocations: 21.52 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.1637, allocations: 36.86 kB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.046e-05/0.1637, allocations: 55.92 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1637, allocations: 3.188 kB / 447.8 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.83e-05/0.1638, allocations: 111.5 kB / 447.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1639, allocations: 9.844 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1639, allocations: 0 / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1639, allocations: 0 / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.1639, allocations: 17.91 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1639, allocations: 3.234 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.164, allocations: 7.719 kB / 448 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.164, allocations: 2.906 kB / 448 MB, free: 41.32 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.29e-05/0.164, allocations: 133.6 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.164, allocations: 13.3 kB / 448.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.1642, allocations: 128.8 kB / 448.2 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1642, allocations: 7.75 kB / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1642, allocations: 0 / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1642, allocations: 0 / 448.3 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1644, allocations: 373 kB / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1644, allocations: 0 / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.1644, allocations: 11.69 kB / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1644, allocations: 2.906 kB / 448.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1644, allocations: 7.188 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1644, allocations: 2.656 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1645, allocations: 3.938 kB / 448.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.83e-05/0.1645, allocations: 219 kB / 448.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-06/0.1646, allocations: 7.016 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1646, allocations: 2.844 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.799e-05/0.1646, allocations: 10.14 kB / 448.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.1646, allocations: 13.47 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1647, allocations: 6.016 kB / 448.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.1647, allocations: 174.9 kB / 449.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1647, allocations: 2.781 kB / 449.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.1649, allocations: 25.12 kB / 449.1 MB, free: 40.52 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.0008215/0.1657, allocations: 1.144 MB / 450.2 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.1658, allocations: 61.34 kB / 450.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1658, allocations: 2.875 kB / 450.3 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.1658, allocations: 31.55 kB / 450.3 MB, free: 39.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1661, allocations: 37.59 kB / 450.4 MB, free: 39.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.167, allocations: 1.738 MB / 452.1 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.169e-05/0.167, allocations: 99.78 kB / 452.2 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.1671, allocations: 22.69 kB / 452.2 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1671, allocations: 40.48 kB / 452.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1671, allocations: 0 / 452.3 MB, free: 38.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1816, allocations: 4.377 MB / 456.6 MB, free: 36.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/6.914, allocations: 17.02 kB / 456.7 MB, free: 36.79 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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: 8.803075658157468]