Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001278/0.001278, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.001425/0.001425, allocations: 207.4 kB / 23.73 MB, free: 4.379 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.492/1.492, allocations: 230.6 MB / 257.5 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.2362/0.2362, allocations: 46.95 MB / 360.9 MB, free: 4.035 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002962/0.3525, allocations: 1.596 MB / 0.5622 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3536, allocations: 0.5348 MB / 0.5627 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3537, allocations: 0 / 0.5627 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3539, allocations: 15.86 kB / 0.5627 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3541, allocations: 87.61 kB / 0.5628 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.3544, allocations: 119.5 kB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3546, allocations: 67.77 kB / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3547, allocations: 5.828 kB / 0.563 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.3547, allocations: 35.91 kB / 0.563 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.3548, allocations: 19.86 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3548, allocations: 4 kB / 0.563 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.3549, allocations: 31.98 kB / 0.5631 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.355, allocations: 15.94 kB / 0.5631 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.355, allocations: 19.86 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3552, allocations: 87.53 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3552, allocations: 0 / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3552, allocations: 0 / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3552, allocations: 4 kB / 0.5632 GB, free: 1.562 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004366/0.3556, allocations: 313.8 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3557, allocations: 12.03 kB / 0.5635 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.3557, allocations: 30.75 kB / 0.5635 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.3558, allocations: 8.891 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3559, allocations: 134.4 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3559, allocations: 8.375 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3559, allocations: 384 / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.3561, allocations: 53.56 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3561, allocations: 0 / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.3561, allocations: 0 / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3561, allocations: 0 / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.3562, allocations: 31.97 kB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.3566, allocations: 252 kB / 0.564 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3568, allocations: 50.42 kB / 0.564 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.3568, allocations: 12.86 kB / 0.564 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3569, allocations: 4 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3569, allocations: 42.62 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3569, allocations: 0 / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005607/0.3575, allocations: 149.4 kB / 0.5642 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3575, allocations: 59.39 kB / 0.5643 GB, free: 280 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3577, allocations: 161.8 kB / 0.5644 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3577, allocations: 29.69 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.3578, allocations: 96.08 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.3578, allocations: 23.8 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3578, allocations: 21.7 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.358, allocations: 318.8 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.358, allocations: 23.98 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.3581, allocations: 19.98 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3583, allocations: 52.77 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3583, allocations: 0 / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002053/0.3585, allocations: 93.8 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3585, allocations: 4 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3585, allocations: 0 / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3585, allocations: 4 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.3586, allocations: 15.98 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3586, allocations: 3.938 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.3586, allocations: 8 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3586, allocations: 0 / 0.5651 GB, free: 15.37 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 (5): * Single equations (assignments): 5 * 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.0001389/0.3588, allocations: 121.8 kB / 0.5652 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.3588, allocations: 7.953 kB / 0.5652 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.359, allocations: 97.98 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.359, allocations: 11.98 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3591, allocations: 3.938 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3591, allocations: 0 / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.3595, allocations: 329.6 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3595, allocations: 0 / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.3596, allocations: 8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3596, allocations: 3.938 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3596, allocations: 3.938 kB / 0.5657 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3596, allocations: 7.984 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3596, allocations: 4 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.3598, allocations: 175.5 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.3599, allocations: 7.938 kB / 0.5659 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.3599, allocations: 12.19 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.36, allocations: 4 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.36, allocations: 7.984 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.36, allocations: 0 / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.3601, allocations: 128.7 kB / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3601, allocations: 0 / 0.566 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.3603, allocations: 23.95 kB / 0.566 GB, free: 14.34 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 (5): * Single equations (assignments): 5 * 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.002101/0.3624, allocations: 1.039 MB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3626, allocations: 55.89 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3626, allocations: 4 kB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.3627, allocations: 23.98 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3631, allocations: 21.48 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3649, allocations: 1.492 MB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.488e-05/0.365, allocations: 79.31 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.733e-05/0.365, allocations: 23.77 kB / 0.5687 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.619e-05/0.3651, allocations: 27.42 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3651, allocations: 0 / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3943, allocations: 3.222 MB / 0.5719 GB, free: 8.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.1, allocations: 17.77 kB / 0.5719 GB, free: 8.445 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.124426855996717]