Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001724/0.001724, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.002262/0.002262, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2319/0.2319, allocations: 46.96 MB / 361.7 MB, free: 4.016 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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003049/0.003049, allocations: 59.91 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4254, allocations: 66.05 MB / 0.5614 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003673/0.429, allocations: 1.601 MB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.4302, allocations: 0.5456 MB / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.4303, allocations: 0 / 0.5635 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.4309, allocations: 451.1 kB / 0.5639 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.4315, allocations: 299.3 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.432, allocations: 167.3 kB / 0.5643 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.4324, allocations: 175.7 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4325, allocations: 19.92 kB / 0.5645 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.4326, allocations: 111.8 kB / 0.5646 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.433, allocations: 243.5 kB / 0.5649 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.433, allocations: 4 kB / 0.5649 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-05/0.4331, allocations: 31.92 kB / 0.5649 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.4332, allocations: 88.61 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.4333, allocations: 71.23 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.4337, allocations: 268.5 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4338, allocations: 4 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4338, allocations: 0 / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.4338, allocations: 3.938 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008871/0.4347, allocations: 0.5815 MB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4347, allocations: 12.03 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.413e-05/0.4347, allocations: 192 / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.4347, allocations: 38.69 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.4348, allocations: 48.59 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.4351, allocations: 246.8 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4352, allocations: 8.375 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.4352, allocations: 8.125 kB / 0.5662 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4353, allocations: 53.67 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4354, allocations: 0 / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.4354, allocations: 0 / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.4354, allocations: 4 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.4355, allocations: 35.95 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.4361, allocations: 367.8 kB / 0.5667 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.4362, allocations: 42.56 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/0.4363, allocations: 24.94 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.4363, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.4364, allocations: 38.55 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.4364, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003963/0.4368, allocations: 129.3 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.4368, allocations: 51.41 kB / 0.5669 GB, free: 14.33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009623/0.4378, allocations: 0.8815 MB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.4378, allocations: 25.7 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.438, allocations: 216.1 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.438, allocations: 7.906 kB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.438, allocations: 17.7 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4382, allocations: 366.7 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.4383, allocations: 15.98 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.4383, allocations: 15.98 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.4385, allocations: 56.75 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4385, allocations: 0 / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002071/0.4387, allocations: 109.4 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4387, allocations: 8 kB / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4387, allocations: 0 / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4387, allocations: 0 / 0.5686 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.4388, allocations: 8 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4388, allocations: 0 / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.4389, allocations: 7.984 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.4389, allocations: 4 kB / 0.5686 GB, free: 12.56 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 (3): * Single equations (assignments): 3 * 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.0001954/0.4391, allocations: 221.6 kB / 0.5688 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.4392, allocations: 43.72 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.4394, allocations: 145.4 kB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4394, allocations: 0 / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4394, allocations: 0 / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4394, allocations: 0 / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.4397, allocations: 256.6 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4397, allocations: 3.984 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.4398, allocations: 12 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4398, allocations: 0 / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4398, allocations: 4 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4398, allocations: 4 kB / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4398, allocations: 0 / 0.5693 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.44, allocations: 215.1 kB / 0.5695 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.4401, allocations: 39.7 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4401, allocations: 4 kB / 0.5695 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.4402, allocations: 8 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.4402, allocations: 3.984 kB / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4402, allocations: 0 / 0.5695 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006512/0.4409, allocations: 0.6589 MB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4409, allocations: 0 / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4412, allocations: 23.88 kB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.001938/0.4431, allocations: 1.011 MB / 0.5712 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.4433, allocations: 39.91 kB / 0.5712 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4433, allocations: 0 / 0.5712 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.4434, allocations: 23.97 kB / 0.5713 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.4438, allocations: 26.3 kB / 0.5713 GB, free: 9.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.4477, allocations: 3.233 MB / 0.5744 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.448, allocations: 220.1 kB / 0.5747 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.4481, allocations: 19.73 kB / 0.5747 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4482, allocations: 115.4 kB / 0.5748 GB, free: 6.191 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4482, allocations: 0 / 0.5748 GB, free: 6.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4762, allocations: 6.066 MB / 0.5807 GB, free: 196 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.63, allocations: 8.047 kB / 0.5807 GB, free: 188 kB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.766722384025343]