Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001424/0.001424, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001534/0.001534, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.2322/0.2322, allocations: 46.93 MB / 360.9 MB, free: 4.242 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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 75.89 kB / 0.4962 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 66.03 MB / 0.5607 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.0034/0.3374, allocations: 1.676 MB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3385, allocations: 0.5894 MB / 0.5629 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.3386, allocations: 11.94 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.3393, allocations: 455.1 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.3398, allocations: 291.3 kB / 0.5636 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.3402, allocations: 179.3 kB / 0.5638 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.3405, allocations: 175.6 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.3406, allocations: 13.81 kB / 0.5639 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3407, allocations: 115.7 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.341, allocations: 251.5 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.341, allocations: 4 kB / 0.5643 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.732e-05/0.3411, allocations: 35.92 kB / 0.5643 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3412, allocations: 87.67 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3413, allocations: 103 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.3417, allocations: 270.6 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3417, allocations: 0 / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3417, allocations: 0 / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3417, allocations: 0 / 0.5648 GB, free: 228 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008221/0.3425, allocations: 0.5885 MB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3425, allocations: 8.031 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.3426, allocations: 38.73 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.3427, allocations: 48.59 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.343, allocations: 246.8 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.343, allocations: 4.375 kB / 0.5657 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3431, allocations: 9.25 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.3432, allocations: 57.67 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3432, allocations: 0 / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3433, allocations: 3.938 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3433, allocations: 4 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.3434, allocations: 23.98 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.344, allocations: 379.6 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.3442, allocations: 42.55 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.158e-05/0.3442, allocations: 20.86 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3442, allocations: 4.062 kB / 0.5662 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3443, allocations: 38.58 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3443, allocations: 0 / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006416/0.3449, allocations: 236.7 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.345, allocations: 59.33 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000926/0.3459, allocations: 0.8777 MB / 0.5674 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3459, allocations: 25.7 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.3461, allocations: 228 kB / 0.5676 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.3461, allocations: 19.83 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.3462, allocations: 13.72 kB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.3464, allocations: 370.7 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.3465, allocations: 19.98 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.46e-05/0.3466, allocations: 23.98 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3467, allocations: 52.83 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3467, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000246/0.347, allocations: 121.6 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.347, allocations: 11.94 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.347, allocations: 0 / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.347, allocations: 3.938 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.3471, allocations: 19.98 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3471, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.3471, allocations: 8 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3471, allocations: 4 kB / 0.5683 GB, free: 12.45 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.0002074/0.3474, allocations: 213.7 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.3474, allocations: 47.67 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003124/0.3477, allocations: 145.2 kB / 0.5686 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3477, allocations: 7.875 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3477, allocations: 0 / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3477, allocations: 4 kB / 0.5687 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.3484, allocations: 441.8 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3484, allocations: 0 / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.3484, allocations: 12 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3484, allocations: 0 / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3484, allocations: 4 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3484, allocations: 0 / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.3485, allocations: 15.89 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3487, allocations: 219.2 kB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/0.3488, allocations: 43.66 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3488, allocations: 0 / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.3489, allocations: 4 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.3489, allocations: 15.92 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3489, allocations: 4.188 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000724/0.3497, allocations: 0.6589 MB / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3497, allocations: 0 / 0.57 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3499, allocations: 23.94 kB / 0.57 GB, free: 10.53 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.002092/0.352, allocations: 1.063 MB / 0.5711 GB, free: 9.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3522, allocations: 55.95 kB / 0.5711 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3522, allocations: 0 / 0.5711 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.3523, allocations: 27.92 kB / 0.5712 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3527, allocations: 35.86 kB / 0.5712 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.3568, allocations: 3.276 MB / 0.5744 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3573, allocations: 0.8299 MB / 0.5752 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.3573, allocations: 20.59 kB / 0.5752 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3575, allocations: 111.4 kB / 0.5753 GB, free: 5.125 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3575, allocations: 4 kB / 0.5753 GB, free: 5.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.3913, allocations: 6.29 MB / 0.5815 GB, free: 14.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 0 / 0.5815 GB, free: 14.9 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.062113469932228]