Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001392/0.001392, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001562/0.001562, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.231/0.231, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 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.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 0.4962 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 66.03 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00338/0.3306, allocations: 1.741 MB / 0.5624 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3324, allocations: 1.042 MB / 0.5634 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.3325, allocations: 3.938 kB / 0.5634 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3327, allocations: 59.75 kB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.3331, allocations: 99.55 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3333, allocations: 83.59 kB / 0.5637 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3335, allocations: 99.75 kB / 0.5638 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3336, allocations: 13.81 kB / 0.5638 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3337, allocations: 55.66 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.3338, allocations: 23.86 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3338, allocations: 8 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.3339, allocations: 43.97 kB / 0.5639 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.334, allocations: 31.86 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.334, allocations: 39.67 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3343, allocations: 147.3 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3343, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3343, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3343, allocations: 0 / 0.5641 GB, free: 0.9375 MB / 398.1 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.0005465/0.3348, allocations: 377.2 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3348, allocations: 12.03 kB / 0.5645 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.3349, allocations: 38.73 kB / 0.5645 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.3349, allocations: 16.84 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.3352, allocations: 163.2 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3352, allocations: 4.375 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3352, allocations: 3.938 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3354, allocations: 61.61 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3354, allocations: 0 / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3354, allocations: 4 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3354, allocations: 0 / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.057e-05/0.3355, allocations: 19.98 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.3359, allocations: 275.9 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.336, allocations: 58.61 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3361, allocations: 16.86 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.3361, allocations: 4 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.3363, allocations: 63.39 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3363, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005086/0.3368, allocations: 181.3 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.3368, allocations: 55.41 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3371, allocations: 274.7 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.3371, allocations: 33.69 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.3372, allocations: 120.1 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.3372, allocations: 27.78 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.3373, allocations: 25.7 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.3375, allocations: 326.8 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.3376, allocations: 23.98 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.3376, allocations: 37.59 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.3377, allocations: 61.77 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3377, allocations: 0 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001866/0.3379, allocations: 113.5 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3379, allocations: 8 kB / 0.5664 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3379, allocations: 3.938 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.338, allocations: 0 / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.338, allocations: 12 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.338, allocations: 4 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.3381, allocations: 7.922 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.3381, allocations: 8.031 kB / 0.5664 GB, free: 14.33 MB / 414.1 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 0.0001134/0.3382, allocations: 141.7 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3382, allocations: 15.91 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.3385, allocations: 111.1 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3385, allocations: 4 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3385, allocations: 384 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3385, allocations: 3.938 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.3389, allocations: 378.4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3389, allocations: 4 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.339, allocations: 8 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.339, allocations: 7.938 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.339, allocations: 7.922 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.339, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.339, allocations: 0 / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3392, allocations: 212.5 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.3393, allocations: 11.91 kB / 0.5673 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3393, allocations: 3.938 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.3393, allocations: 8 kB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.3394, allocations: 7.984 kB / 0.5673 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.3394, allocations: 4 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000181/0.3396, allocations: 200.6 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3396, allocations: 0 / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.3398, allocations: 31.94 kB / 0.5676 GB, free: 13.1 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002117/0.3419, allocations: 1.113 MB / 0.5686 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3421, allocations: 51.92 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3421, allocations: 0 / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.3422, allocations: 31.91 kB / 0.5687 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3425, allocations: 26.86 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.3446, allocations: 1.831 MB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.3449, allocations: 0.7158 MB / 0.5712 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.345, allocations: 21.27 kB / 0.5713 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.345, allocations: 43.42 kB / 0.5713 GB, free: 9.316 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.345, allocations: 0 / 0.5713 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3742, allocations: 3.974 MB / 0.5752 GB, free: 5.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.21, allocations: 3.938 kB / 0.5752 GB, free: 5.41 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.203914735931903]