Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.001279/0.001279, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001407/0.001407, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.388/1.388, allocations: 230.5 MB / 257.4 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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.2161/0.2161, allocations: 46.96 MB / 360.8 MB, free: 3.91 MB / 286.1 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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 83.86 kB / 0.4962 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3346, allocations: 66.09 MB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003809/0.3384, allocations: 2.232 MB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.341, allocations: 1.344 MB / 0.5642 GB, free: 268 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.3411, allocations: 3.938 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006181/0.3418, allocations: 299 kB / 0.5645 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006843/0.3424, allocations: 338.6 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.3429, allocations: 219.5 kB / 0.5651 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006462/0.3435, allocations: 0.5646 MB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.3437, allocations: 43.09 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.344, allocations: 239 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.3444, allocations: 286.9 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.3444, allocations: 20 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3446, allocations: 59.92 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.3447, allocations: 115.5 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3449, allocations: 146.9 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.3454, allocations: 441.8 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3454, allocations: 4 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3454, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.3454, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0012/0.3466, allocations: 0.7339 MB / 0.5676 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3467, allocations: 12.03 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.3467, allocations: 46.73 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.3468, allocations: 60.56 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.3474, allocations: 353 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3475, allocations: 16.38 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.3475, allocations: 12.38 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.3479, allocations: 221.9 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.348, allocations: 0 / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.348, allocations: 4 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.348, allocations: 4 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3483, allocations: 119.8 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3493, allocations: 0.8206 MB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.35, allocations: 281.2 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.3502, allocations: 104.2 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3503, allocations: 3.938 kB / 0.5696 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004397/0.3507, allocations: 227.5 kB / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.3507, allocations: 0 / 0.5698 GB, free: 10.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002249/0.353, allocations: 1.081 MB / 0.5709 GB, free: 9.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.3531, allocations: 166.2 kB / 0.571 GB, free: 9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.3539, allocations: 0.6748 MB / 0.5717 GB, free: 8.312 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.3539, allocations: 41.62 kB / 0.5717 GB, free: 8.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.3541, allocations: 241 kB / 0.572 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.3542, allocations: 127 kB / 0.5721 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3544, allocations: 78.06 kB / 0.5722 GB, free: 7.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3545, allocations: 374.8 kB / 0.5725 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.3548, allocations: 104.8 kB / 0.5726 GB, free: 7.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.3551, allocations: 184.9 kB / 0.5728 GB, free: 7.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.3557, allocations: 312.5 kB / 0.5731 GB, free: 6.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3557, allocations: 0 / 0.5731 GB, free: 6.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007926/0.3565, allocations: 428.9 kB / 0.5735 GB, free: 6.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3565, allocations: 10.19 kB / 0.5735 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3565, allocations: 0 / 0.5735 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3565, allocations: 8 kB / 0.5735 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.3568, allocations: 83.89 kB / 0.5736 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3568, allocations: 4 kB / 0.5736 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.357, allocations: 15.98 kB / 0.5736 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.3571, allocations: 20 kB / 0.5736 GB, free: 6.238 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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 0.0002566/0.3573, allocations: 216.3 kB / 0.5739 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3574, allocations: 67.52 kB / 0.5739 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.3584, allocations: 490.2 kB / 0.5744 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.3584, allocations: 7.938 kB / 0.5744 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.3584, allocations: 3.984 kB / 0.5744 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3585, allocations: 7.984 kB / 0.5744 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.3602, allocations: 1.272 MB / 0.5756 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3602, allocations: 4 kB / 0.5756 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3604, allocations: 55.92 kB / 0.5757 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.3604, allocations: 7.984 kB / 0.5757 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3604, allocations: 12 kB / 0.5757 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.3605, allocations: 11.88 kB / 0.5757 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.3605, allocations: 7.984 kB / 0.5757 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3615, allocations: 0.8597 MB / 0.5766 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.3616, allocations: 51.56 kB / 0.5766 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.3617, allocations: 19.98 kB / 0.5766 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/0.362, allocations: 19.92 kB / 0.5767 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.3621, allocations: 39.94 kB / 0.5767 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.3621, allocations: 24 kB / 0.5767 GB, free: 2.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005977/0.3627, allocations: 498.8 kB / 0.5772 GB, free: 2.473 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3627, allocations: 0 / 0.5772 GB, free: 2.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.3633, allocations: 91.98 kB / 0.5773 GB, free: 2.383 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003198/0.3665, allocations: 1.817 MB / 0.5791 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007073/0.3672, allocations: 303.5 kB / 0.5794 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3672, allocations: 0 / 0.5794 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003333/0.3675, allocations: 151.7 kB / 0.5795 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3686, allocations: 138.5 kB / 0.5796 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.3749, allocations: 4.589 MB / 0.5841 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3752, allocations: 275.9 kB / 0.5844 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.3755, allocations: 87.33 kB / 0.5845 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.3757, allocations: 187.4 kB / 0.5846 GB, free: 10.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3757, allocations: 0 / 0.5846 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.4166, allocations: 12.19 MB / 0.5965 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.83, allocations: 3.938 kB / 0.5965 GB, free: 14.65 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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: 14.69271475309506]