Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001786/0.001786, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002184/0.002184, allocations: 211 kB / 23.73 MB, free: 4.523 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.222/0.222, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.03 kB / 0.4962 GB, free: 8.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3274, allocations: 66.02 MB / 0.5606 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002615/0.33, allocations: 1.714 MB / 0.5623 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3319, allocations: 1.67 MB / 0.564 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.332, allocations: 3.094 kB / 0.564 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.3323, allocations: 34.83 kB / 0.564 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3326, allocations: 102.5 kB / 0.5641 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.3328, allocations: 75.02 kB / 0.5642 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.3329, allocations: 110.6 kB / 0.5643 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.333, allocations: 17.98 kB / 0.5643 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.21e-05/0.3331, allocations: 48.8 kB / 0.5643 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3332, allocations: 42.45 kB / 0.5644 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3332, allocations: 6 kB / 0.5644 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3334, allocations: 114.9 kB / 0.5645 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.3334, allocations: 14.5 kB / 0.5645 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.3335, allocations: 24.97 kB / 0.5645 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.3337, allocations: 174.7 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3337, allocations: 0 / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3337, allocations: 1.156 kB / 0.5647 GB, free: 30.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.3337, allocations: 0 / 0.5647 GB, free: 30.71 MB / 446.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.0004796/0.3342, allocations: 350.9 kB / 0.565 GB, free: 30.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3343, allocations: 10.28 kB / 0.565 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.3343, allocations: 33.81 kB / 0.5651 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3343, allocations: 12.28 kB / 0.5651 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3346, allocations: 159.5 kB / 0.5652 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3346, allocations: 1.812 kB / 0.5652 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3346, allocations: 3.344 kB / 0.5652 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3348, allocations: 103.9 kB / 0.5653 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3348, allocations: 0 / 0.5653 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3348, allocations: 0 / 0.5653 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3348, allocations: 3.625 kB / 0.5653 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.3349, allocations: 17.23 kB / 0.5654 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.3352, allocations: 260.4 kB / 0.5656 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3353, allocations: 61.14 kB / 0.5657 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.3354, allocations: 18.61 kB / 0.5657 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3354, allocations: 3.094 kB / 0.5657 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3355, allocations: 66.19 kB / 0.5657 GB, free: 29.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.3355, allocations: 5.719 kB / 0.5657 GB, free: 29.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005365/0.3361, allocations: 180.1 kB / 0.5659 GB, free: 29.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3361, allocations: 92.34 kB / 0.566 GB, free: 29.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3363, allocations: 167.6 kB / 0.5662 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3363, allocations: 32.19 kB / 0.5662 GB, free: 29.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.3363, allocations: 90.95 kB / 0.5663 GB, free: 29.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.3363, allocations: 30.38 kB / 0.5663 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3364, allocations: 27.62 kB / 0.5663 GB, free: 29.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.85e-05/0.3364, allocations: 321.5 kB / 0.5666 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.3365, allocations: 24.5 kB / 0.5667 GB, free: 28.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-05/0.3366, allocations: 75.27 kB / 0.5667 GB, free: 28.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3367, allocations: 63 kB / 0.5668 GB, free: 28.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3367, allocations: 192 / 0.5668 GB, free: 28.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001667/0.3368, allocations: 94.72 kB / 0.5669 GB, free: 28.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3369, allocations: 13.73 kB / 0.5669 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3369, allocations: 3.984 kB / 0.5669 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3369, allocations: 3.125 kB / 0.5669 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.337, allocations: 16.66 kB / 0.5669 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.337, allocations: 0 / 0.5669 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.337, allocations: 10.81 kB / 0.5669 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.337, allocations: 3.25 kB / 0.5669 GB, free: 28.75 MB / 446.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 6.894e-05/0.3371, allocations: 122.3 kB / 0.5671 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.3371, allocations: 7.234 kB / 0.5671 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3374, allocations: 119.5 kB / 0.5672 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3374, allocations: 10.16 kB / 0.5672 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3374, allocations: 0 / 0.5672 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3374, allocations: 0.8906 kB / 0.5672 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.3377, allocations: 370.3 kB / 0.5675 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3377, allocations: 6.938 kB / 0.5675 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.3378, allocations: 8.219 kB / 0.5676 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3378, allocations: 3.75 kB / 0.5676 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3378, allocations: 4.734 kB / 0.5676 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3378, allocations: 7.172 kB / 0.5676 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3378, allocations: 3.984 kB / 0.5676 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.338, allocations: 216.4 kB / 0.5678 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.338, allocations: 11.08 kB / 0.5678 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.338, allocations: 10.28 kB / 0.5678 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.3381, allocations: 5.938 kB / 0.5678 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.3381, allocations: 9.828 kB / 0.5678 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.3381, allocations: 3.031 kB / 0.5678 GB, free: 28.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.93e-05/0.3382, allocations: 128.2 kB / 0.5679 GB, free: 27.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3382, allocations: 0 / 0.5679 GB, free: 27.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3385, allocations: 54.45 kB / 0.568 GB, free: 27.92 MB / 446.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 (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.002371/0.3409, allocations: 1.235 MB / 0.5692 GB, free: 27.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.3411, allocations: 61.11 kB / 0.5693 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3411, allocations: 0 / 0.5693 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.3412, allocations: 28.91 kB / 0.5693 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3416, allocations: 36.78 kB / 0.5693 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.343, allocations: 1.6 MB / 0.5709 GB, free: 25.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.3431, allocations: 87.41 kB / 0.571 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.3432, allocations: 13.19 kB / 0.571 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.3432, allocations: 41.62 kB / 0.571 GB, free: 25.57 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3432, allocations: 0 / 0.571 GB, free: 25.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.3761, allocations: 4.776 MB / 0.5757 GB, free: 24.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.18, allocations: 3.75 kB / 0.5757 GB, free: 24.12 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.217147415998625]