Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.00144/0.00144, 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.001531/0.001531, allocations: 212.6 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.94 MB / 359.6 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.91 kB / 0.4938 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 65.46 MB / 0.5577 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003356/0.3644, allocations: 1.666 MB / 0.5594 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3654, allocations: 0.5348 MB / 0.5599 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.3655, allocations: 0 / 0.5599 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.3657, allocations: 39.83 kB / 0.5599 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.366, allocations: 95.59 kB / 0.56 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.3663, allocations: 139.5 kB / 0.5602 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.3665, allocations: 79.77 kB / 0.5602 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3666, allocations: 22.05 kB / 0.5603 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.752e-05/0.3667, allocations: 39.78 kB / 0.5603 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3668, allocations: 43.83 kB / 0.5603 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.3668, allocations: 4 kB / 0.5603 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3669, allocations: 55.97 kB / 0.5604 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.367, allocations: 27.92 kB / 0.5604 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.367, allocations: 19.81 kB / 0.5604 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.3673, allocations: 123.4 kB / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3673, allocations: 0 / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3673, allocations: 0 / 0.5606 GB, free: 4.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3673, allocations: 0 / 0.5606 GB, free: 4.613 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005861/0.3679, allocations: 349.5 kB / 0.5609 GB, free: 4.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3679, allocations: 12.03 kB / 0.5609 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.354e-05/0.3679, allocations: 192 / 0.5609 GB, free: 4.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.368, allocations: 38.75 kB / 0.5609 GB, free: 4.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.368, allocations: 12.89 kB / 0.5609 GB, free: 4.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3682, allocations: 141.8 kB / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3682, allocations: 8.312 kB / 0.5611 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3682, allocations: 12.08 kB / 0.5611 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3684, allocations: 61.66 kB / 0.5612 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3684, allocations: 4 kB / 0.5612 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3684, allocations: 4 kB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3684, allocations: 0 / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3686, allocations: 35.97 kB / 0.5612 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.369, allocations: 271.8 kB / 0.5615 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.3693, allocations: 50.56 kB / 0.5615 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.3694, allocations: 24.97 kB / 0.5615 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.3694, allocations: 3.984 kB / 0.5615 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3694, allocations: 34.59 kB / 0.5616 GB, free: 3.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.3694, allocations: 3.938 kB / 0.5616 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001515/0.3709, allocations: 397 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.371, allocations: 59.39 kB / 0.562 GB, free: 2.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3712, allocations: 186.1 kB / 0.5622 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3712, allocations: 29.7 kB / 0.5622 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.3713, allocations: 100.1 kB / 0.5623 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/0.3714, allocations: 39.62 kB / 0.5623 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.3714, allocations: 25.72 kB / 0.5624 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3716, allocations: 322.8 kB / 0.5627 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.3717, allocations: 44.53 kB / 0.5627 GB, free: 2.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3718, allocations: 48.06 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.3721, allocations: 104.9 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3721, allocations: 0 / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003379/0.3724, allocations: 153.5 kB / 0.563 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3725, allocations: 8 kB / 0.563 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3725, allocations: 0 / 0.563 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3725, allocations: 3.938 kB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3726, allocations: 27.97 kB / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3726, allocations: 0 / 0.5631 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.3727, allocations: 11.98 kB / 0.5631 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3727, allocations: 8 kB / 0.5631 GB, free: 1.836 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001129/0.3728, allocations: 129.8 kB / 0.5632 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.3729, allocations: 11.91 kB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000415/0.3733, allocations: 170.2 kB / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3733, allocations: 0 / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3733, allocations: 0 / 0.5634 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3733, allocations: 4 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.374, allocations: 431.1 kB / 0.5638 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.374, allocations: 4 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3741, allocations: 31.91 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3741, allocations: 0 / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3742, allocations: 4 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3742, allocations: 0 / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3742, allocations: 0 / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.3746, allocations: 257.2 kB / 0.5641 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.3746, allocations: 11.89 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.3746, allocations: 8 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.3747, allocations: 11.92 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.3748, allocations: 11.92 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3748, allocations: 8 kB / 0.5641 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3749, allocations: 140.1 kB / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3749, allocations: 4 kB / 0.5643 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.3752, allocations: 27.94 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0025/0.3777, allocations: 1.174 MB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003261/0.378, allocations: 107.9 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.378, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3782, allocations: 51.91 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3785, allocations: 27.11 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.381, allocations: 1.794 MB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.3811, allocations: 100.7 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.331e-05/0.3811, allocations: 12.48 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.3812, allocations: 43.42 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3812, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.4043, allocations: 3.573 MB / 0.571 GB, free: 9.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 10.36 kB / 0.571 GB, free: 9.75 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.30397437501233]