Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 112.8 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 191.7 kB / 20.08 MB, free: 3.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 207.6 MB / 230.4 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3366/0.3366, allocations: 44.22 MB / 326.5 MB, free: 6.844 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 67.89 kB / 462.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3195, allocations: 60.99 MB / 0.5109 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002728/0.3222, allocations: 1.621 MB / 0.5125 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005656/0.3228, allocations: 352.9 kB / 0.5128 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3228, allocations: 0 / 0.5128 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.3234, allocations: 451.3 kB / 0.5133 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.3237, allocations: 249.4 kB / 0.5135 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.324, allocations: 156.5 kB / 0.5136 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.3243, allocations: 169.2 kB / 0.5138 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3244, allocations: 18.66 kB / 0.5138 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3245, allocations: 106 kB / 0.5139 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.3247, allocations: 248 kB / 0.5142 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3248, allocations: 2.625 kB / 0.5142 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.3249, allocations: 35.39 kB / 0.5142 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.3249, allocations: 86.67 kB / 0.5143 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.325, allocations: 103.2 kB / 0.5144 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.3253, allocations: 264.5 kB / 0.5146 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3253, allocations: 0 / 0.5146 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3253, allocations: 1.375 kB / 0.5146 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.3253, allocations: 0 / 0.5146 GB, free: 10.77 MB / 382.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.0006531/0.326, allocations: 0.6544 MB / 0.5153 GB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.326, allocations: 17.42 kB / 0.5153 GB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.509e-05/0.326, allocations: 32.12 kB / 0.5153 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.3261, allocations: 46.48 kB / 0.5154 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3263, allocations: 296.5 kB / 0.5156 GB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3263, allocations: 5.75 kB / 0.5157 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3264, allocations: 5.5 kB / 0.5157 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3265, allocations: 63.39 kB / 0.5157 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3265, allocations: 5.375 kB / 0.5157 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3265, allocations: 0 / 0.5157 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3265, allocations: 1.375 kB / 0.5157 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.475e-05/0.3266, allocations: 32.41 kB / 0.5158 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3271, allocations: 396.3 kB / 0.5161 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3273, allocations: 44.44 kB / 0.5162 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.3273, allocations: 23.75 kB / 0.5162 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3273, allocations: 5.312 kB / 0.5162 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.3273, allocations: 31.94 kB / 0.5162 GB, free: 9.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3273, allocations: 0 / 0.5162 GB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005687/0.3279, allocations: 243.4 kB / 0.5165 GB, free: 9.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.3279, allocations: 56.06 kB / 0.5165 GB, free: 9.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.3286, allocations: 0.8717 MB / 0.5174 GB, free: 8.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3286, allocations: 25.7 kB / 0.5174 GB, free: 8.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3287, allocations: 220.1 kB / 0.5176 GB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3288, allocations: 19.84 kB / 0.5176 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.3288, allocations: 17.72 kB / 0.5176 GB, free: 7.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.3289, allocations: 362.8 kB / 0.518 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.329, allocations: 23.98 kB / 0.518 GB, free: 7.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.459e-05/0.3291, allocations: 24.16 kB / 0.518 GB, free: 7.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3292, allocations: 56.83 kB / 0.5181 GB, free: 7.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3292, allocations: 3.938 kB / 0.5181 GB, free: 7.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001984/0.3294, allocations: 125.3 kB / 0.5182 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3294, allocations: 8 kB / 0.5182 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3294, allocations: 3.984 kB / 0.5182 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3294, allocations: 4 kB / 0.5182 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.3295, allocations: 8 kB / 0.5182 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.3295, allocations: 3.938 kB / 0.5182 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.398e-05/0.3296, allocations: 7.984 kB / 0.5182 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.3296, allocations: 4 kB / 0.5182 GB, free: 7.246 MB / 382.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.0001352/0.3297, allocations: 209.8 kB / 0.5184 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.3298, allocations: 47.7 kB / 0.5185 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.33, allocations: 145 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.33, allocations: 3.984 kB / 0.5186 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.33, allocations: 3.938 kB / 0.5186 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.33, allocations: 0 / 0.5186 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3304, allocations: 470.5 kB / 0.5191 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3304, allocations: 0 / 0.5191 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.3305, allocations: 8.188 kB / 0.5191 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3305, allocations: 7.938 kB / 0.5191 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3305, allocations: 8 kB / 0.5191 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3305, allocations: 7.875 kB / 0.5191 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3305, allocations: 0 / 0.5191 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3307, allocations: 215.2 kB / 0.5193 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3308, allocations: 120.8 kB / 0.5194 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3308, allocations: 3.938 kB / 0.5194 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.3309, allocations: 8 kB / 0.5194 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3309, allocations: 3.984 kB / 0.5195 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3309, allocations: 8 kB / 0.5195 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004202/0.3313, allocations: 0.6472 MB / 0.5201 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3313, allocations: 0 / 0.5201 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.3316, allocations: 27.98 kB / 0.5201 GB, free: 5.223 MB / 382.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.001708/0.3333, allocations: 1.064 MB / 0.5212 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.3335, allocations: 47.95 kB / 0.5212 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3335, allocations: 0 / 0.5212 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.3336, allocations: 27.92 kB / 0.5212 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.334, allocations: 30.3 kB / 0.5213 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.3368, allocations: 3.242 MB / 0.5244 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.3371, allocations: 0.826 MB / 0.5252 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.3371, allocations: 11.98 kB / 0.5252 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3373, allocations: 115.4 kB / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3373, allocations: 0 / 0.5254 GB, free: 15.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03268/0.37, allocations: 6.075 MB / 0.5313 GB, free: 9.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.803/9.173, allocations: 9.406 kB / 0.5313 GB, free: 9.598 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 12.139550691004843]