Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001557/0.001557, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.0019/0.0019, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.493/1.493, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.3268/0.3268, allocations: 46.96 MB / 361.7 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 67.91 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3446, allocations: 66.03 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003197/0.3478, allocations: 1.617 MB / 0.563 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3489, allocations: 0.5349 MB / 0.5635 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.349, allocations: 0 / 0.5635 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.3494, allocations: 119.6 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3497, allocations: 127.6 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.35, allocations: 123.5 kB / 0.5638 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.3502, allocations: 95.73 kB / 0.5639 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3504, allocations: 17.81 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.3504, allocations: 47.88 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3506, allocations: 91.77 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3506, allocations: 4 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3508, allocations: 55.84 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.3508, allocations: 27.92 kB / 0.5642 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.3509, allocations: 27.75 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3511, allocations: 119.4 kB / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3511, allocations: 0 / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3511, allocations: 0 / 0.5643 GB, free: 1.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3511, allocations: 0 / 0.5643 GB, free: 1.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006215/0.3517, allocations: 369.3 kB / 0.5646 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3518, allocations: 16.02 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.345e-05/0.3518, allocations: 4.125 kB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.3518, allocations: 30.75 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3519, allocations: 20.84 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.3521, allocations: 162.4 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3521, allocations: 8.359 kB / 0.5649 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3521, allocations: 12.12 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3523, allocations: 45.69 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3523, allocations: 0 / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3523, allocations: 4 kB / 0.5649 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3523, allocations: 4 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3524, allocations: 31.91 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.3529, allocations: 275.9 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.353, allocations: 42.56 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.3531, allocations: 24.92 kB / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3531, allocations: 0 / 0.5653 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3531, allocations: 34.5 kB / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3531, allocations: 0 / 0.5653 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009786/0.3541, allocations: 253.2 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3542, allocations: 55.34 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.3545, allocations: 275.8 kB / 0.5659 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3545, allocations: 29.64 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.3546, allocations: 116.1 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3546, allocations: 27.75 kB / 0.5661 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.3546, allocations: 25.7 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3548, allocations: 322.8 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.3549, allocations: 39.88 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.355, allocations: 27.98 kB / 0.5665 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3551, allocations: 76.81 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3551, allocations: 3.938 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000249/0.3554, allocations: 113.5 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3554, allocations: 4 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3554, allocations: 0 / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3554, allocations: 8 kB / 0.5666 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3555, allocations: 15.98 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3555, allocations: 3.938 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.3556, allocations: 8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3556, allocations: 7.984 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001165/0.3557, allocations: 139.1 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3558, allocations: 11.91 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.3561, allocations: 135.3 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3561, allocations: 4 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3561, allocations: 3.938 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3561, allocations: 0 / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.3567, allocations: 394.4 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3567, allocations: 3.938 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.28e-05/0.3568, allocations: 15.98 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3568, allocations: 0 / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3568, allocations: 8 kB / 0.5674 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3568, allocations: 7.953 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3568, allocations: 4 kB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.3571, allocations: 216.3 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.3571, allocations: 15.84 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3571, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.021e-05/0.3572, allocations: 11.98 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3573, allocations: 7.984 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.3573, allocations: 4 kB / 0.5676 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.3575, allocations: 208.1 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3575, allocations: 4 kB / 0.5678 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3577, allocations: 27.92 kB / 0.5678 GB, free: 13.31 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002421/0.3602, allocations: 1.138 MB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3604, allocations: 67.89 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3604, allocations: 0 / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.3605, allocations: 40.12 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.3609, allocations: 28.64 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.3632, allocations: 1.859 MB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.3633, allocations: 105.1 kB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.3634, allocations: 24.64 kB / 0.571 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.3635, allocations: 43.42 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3635, allocations: 0 / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.3877, allocations: 3.698 MB / 0.5747 GB, free: 6.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 8.953 kB / 0.5747 GB, free: 6.449 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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: 15.318782728980295]