Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001251/0.001251, 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.002084/0.002084, 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.562/1.562, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2297/0.2297, allocations: 46.97 MB / 361.7 MB, free: 4.031 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 0.4969 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 66.03 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00359/0.3648, allocations: 1.6 MB / 0.5629 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3659, allocations: 0.527 MB / 0.5635 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.694e-05/0.3659, allocations: 0 / 0.5635 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.3662, allocations: 79.7 kB / 0.5635 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.3666, allocations: 107.6 kB / 0.5636 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.3669, allocations: 95.69 kB / 0.5637 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3671, allocations: 83.75 kB / 0.5638 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3672, allocations: 9.828 kB / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.3673, allocations: 47.83 kB / 0.5639 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3674, allocations: 59.8 kB / 0.5639 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3674, allocations: 4 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.3676, allocations: 44 kB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.3677, allocations: 23.86 kB / 0.564 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.3677, allocations: 31.78 kB / 0.564 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3679, allocations: 103.5 kB / 0.5641 GB, free: 1.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3679, allocations: 4 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3679, allocations: 0 / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3679, allocations: 0 / 0.5641 GB, free: 1.395 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.0005385/0.3685, allocations: 341.6 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3685, allocations: 8.031 kB / 0.5645 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.473e-05/0.3685, allocations: 4.188 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.3686, allocations: 34.75 kB / 0.5645 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.3686, allocations: 16.78 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.3688, allocations: 143 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3688, allocations: 4.375 kB / 0.5646 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.3689, allocations: 8.125 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.369, allocations: 53.67 kB / 0.5647 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.369, allocations: 7.922 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.369, allocations: 4 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3691, allocations: 0 / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3692, allocations: 27.97 kB / 0.5647 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3696, allocations: 259.9 kB / 0.565 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3697, allocations: 42.5 kB / 0.565 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.3698, allocations: 16.94 kB / 0.565 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.3698, allocations: 4 kB / 0.5651 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3698, allocations: 30.56 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3698, allocations: 0 / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009637/0.3708, allocations: 225.2 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.3709, allocations: 55.34 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3711, allocations: 214.3 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.3712, allocations: 29.7 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.3712, allocations: 104.1 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.3713, allocations: 31.81 kB / 0.5657 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.3713, allocations: 33.64 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3715, allocations: 326.8 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.3716, allocations: 23.98 kB / 0.5661 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.3717, allocations: 23.98 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3718, allocations: 60.77 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3718, allocations: 8 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002247/0.3721, allocations: 93.62 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3721, allocations: 10.33 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3721, allocations: 4 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3721, allocations: 4 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3722, allocations: 19.92 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.3722, allocations: 3.938 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.492e-05/0.3723, allocations: 4 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3723, allocations: 11.94 kB / 0.5663 GB, free: 14.95 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.0001117/0.3724, allocations: 121.8 kB / 0.5664 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3724, allocations: 15.91 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.3728, allocations: 127.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3728, allocations: 0 / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3728, allocations: 7.938 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3728, allocations: 0 / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.3734, allocations: 366.4 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.3734, allocations: 7.922 kB / 0.5669 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.3734, allocations: 19.92 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3735, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3735, allocations: 4 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3735, allocations: 4.031 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3735, allocations: 0 / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.3738, allocations: 200.3 kB / 0.5671 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.3739, allocations: 15.83 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3739, allocations: 8 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.374, allocations: 4 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.374, allocations: 7.922 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.374, allocations: 4 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3742, allocations: 168.2 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3742, allocations: 4 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3744, allocations: 23.94 kB / 0.5674 GB, free: 13.77 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.0025/0.3769, allocations: 1.117 MB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3772, allocations: 67.89 kB / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3772, allocations: 0 / 0.5685 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.889e-05/0.3773, allocations: 35.92 kB / 0.5686 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3777, allocations: 20.8 kB / 0.5686 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.38, allocations: 1.681 MB / 0.5702 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.3801, allocations: 96.67 kB / 0.5703 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.841e-05/0.3801, allocations: 12.66 kB / 0.5703 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.3802, allocations: 39.42 kB / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3802, allocations: 0 / 0.5704 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.4072, allocations: 3.352 MB / 0.5736 GB, free: 7.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.91, allocations: 3.562 kB / 0.5736 GB, free: 7.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.090245957951993]