Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001792/0.001792, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001617/0.001617, allocations: 212 kB / 23.74 MB, free: 4.656 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2385/0.2385, allocations: 46.92 MB / 360.8 MB, free: 4.27 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 67.88 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3613, allocations: 66.04 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003207/0.3646, allocations: 1.629 MB / 0.5623 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.3656, allocations: 0.5621 MB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/0.3657, allocations: 0 / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.366, allocations: 87.64 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.3663, allocations: 103.6 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.3666, allocations: 111.7 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3668, allocations: 79.77 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3669, allocations: 21.8 kB / 0.5632 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.3669, allocations: 31.86 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3671, allocations: 67.8 kB / 0.5633 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3671, allocations: 7.938 kB / 0.5633 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-05/0.3672, allocations: 47.98 kB / 0.5633 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.3672, allocations: 23.91 kB / 0.5634 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3673, allocations: 27.75 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3675, allocations: 111.5 kB / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3675, allocations: 0 / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3675, allocations: 0 / 0.5635 GB, free: 1.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3675, allocations: 0 / 0.5635 GB, free: 1.527 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.0004803/0.368, allocations: 345.5 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.368, allocations: 12.03 kB / 0.5638 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.698e-05/0.368, allocations: 34.73 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.3681, allocations: 12.84 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.3683, allocations: 143 kB / 0.564 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3683, allocations: 4.375 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3683, allocations: 4.375 kB / 0.564 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3685, allocations: 57.61 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3685, allocations: 0 / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3685, allocations: 4 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3685, allocations: 7.938 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.877e-05/0.3686, allocations: 27.97 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.369, allocations: 263.9 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3691, allocations: 54.48 kB / 0.5644 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.3692, allocations: 16.86 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3692, allocations: 4 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3693, allocations: 34.64 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3693, allocations: 0 / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000926/0.3702, allocations: 257.6 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3702, allocations: 51.41 kB / 0.5648 GB, free: 68 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3705, allocations: 210.2 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3705, allocations: 25.7 kB / 0.565 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.3705, allocations: 112.1 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3706, allocations: 31.73 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.3706, allocations: 17.72 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3708, allocations: 322.8 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.3709, allocations: 31.98 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.458e-05/0.3709, allocations: 35.91 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3711, allocations: 80.75 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3711, allocations: 0 / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/0.3713, allocations: 113.5 kB / 0.5657 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3713, allocations: 8 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3713, allocations: 96 / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3714, allocations: 3.984 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3715, allocations: 19.98 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3715, allocations: 3.938 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3715, allocations: 4 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3715, allocations: 4 kB / 0.5658 GB, free: 15.02 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.0001105/0.3716, allocations: 133.7 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.3717, allocations: 11.91 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.372, allocations: 135 kB / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.372, allocations: 0 / 0.566 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.372, allocations: 3.938 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.372, allocations: 4 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.3725, allocations: 390.7 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3725, allocations: 4.031 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.3726, allocations: 23.86 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3726, allocations: 0 / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3726, allocations: 8 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3726, allocations: 0 / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3726, allocations: 80 / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.3729, allocations: 216.3 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3729, allocations: 15.84 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3729, allocations: 4 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.373, allocations: 0 / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.373, allocations: 15.92 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.373, allocations: 8 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3732, allocations: 164.2 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3732, allocations: 0 / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3735, allocations: 23.92 kB / 0.5669 GB, free: 13.79 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.002181/0.3756, allocations: 1.101 MB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3759, allocations: 79.88 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3759, allocations: 0 / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.376, allocations: 43.91 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3764, allocations: 20.05 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3785, allocations: 1.716 MB / 0.5698 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3788, allocations: 0.708 MB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.58e-05/0.3789, allocations: 28.94 kB / 0.5705 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.81e-05/0.379, allocations: 31.42 kB / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.379, allocations: 0 / 0.5705 GB, free: 10.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.4077, allocations: 3.347 MB / 0.5738 GB, free: 6.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.39, allocations: 7.188 kB / 0.5738 GB, free: 6.828 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 14.483792341081426]