Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 187 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2127/0.2127, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3424, allocations: 60.83 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002941/0.3454, allocations: 1.553 MB / 0.52 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008177/0.3462, allocations: 408.3 kB / 0.5203 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.3463, allocations: 5.125 kB / 0.5204 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.3466, allocations: 26.19 kB / 0.5204 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3468, allocations: 35.86 kB / 0.5204 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.3472, allocations: 107.8 kB / 0.5205 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3474, allocations: 55.3 kB / 0.5206 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3475, allocations: 16.64 kB / 0.5206 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.3475, allocations: 22 kB / 0.5206 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.3476, allocations: 20.53 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3476, allocations: 2.188 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.274e-05/0.3477, allocations: 30.56 kB / 0.5207 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.3478, allocations: 14.83 kB / 0.5207 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.3478, allocations: 24.78 kB / 0.5207 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.348, allocations: 73.73 kB / 0.5208 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.348, allocations: 7.938 kB / 0.5208 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.348, allocations: 0 / 0.5208 GB, free: 1.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3481, allocations: 4 kB / 0.5208 GB, free: 1.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003857/0.3485, allocations: 379.9 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3485, allocations: 9.922 kB / 0.5211 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.3485, allocations: 32.55 kB / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3486, allocations: 8.219 kB / 0.5212 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3487, allocations: 186.7 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.3488, allocations: 1.5 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3488, allocations: 2.438 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3489, allocations: 61.05 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.349, allocations: 5.781 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.349, allocations: 3.938 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.349, allocations: 1.031 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.3491, allocations: 27.28 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.3494, allocations: 284.9 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3496, allocations: 49.48 kB / 0.5218 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3497, allocations: 19.17 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.3497, allocations: 0 / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.3497, allocations: 32.33 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.3497, allocations: 0 / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005408/0.3503, allocations: 151.6 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.3503, allocations: 53.09 kB / 0.522 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3504, allocations: 157.3 kB / 0.5222 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3505, allocations: 25.7 kB / 0.5222 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.3505, allocations: 97.14 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3505, allocations: 11.78 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.3506, allocations: 18.61 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.3506, allocations: 323.8 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/0.3507, allocations: 25.03 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.3507, allocations: 21.39 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.3509, allocations: 51.27 kB / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3509, allocations: 0 / 0.5227 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001697/0.3511, allocations: 89.17 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3511, allocations: 5.375 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3511, allocations: 4.656 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3511, allocations: 1.219 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.3512, allocations: 12.08 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3512, allocations: 1.656 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.3512, allocations: 9.219 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.3512, allocations: 0 / 0.5228 GB, free: 96 kB / 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 9.364e-05/0.3513, allocations: 118.2 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3514, allocations: 7.828 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.3516, allocations: 106.3 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3516, allocations: 1.281 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3516, allocations: 0.6562 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3517, allocations: 5.156 kB / 0.5231 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.3521, allocations: 349.8 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3521, allocations: 0 / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.3522, allocations: 20.73 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3522, allocations: 0 / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3522, allocations: 5.812 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3522, allocations: 0 / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3522, allocations: 1.125 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3525, allocations: 185.9 kB / 0.5236 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.3525, allocations: 82.89 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.3526, allocations: 12.88 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.3526, allocations: 5.359 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.3527, allocations: 3.391 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3527, allocations: 1.438 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3528, allocations: 122.7 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3528, allocations: 1.406 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3531, allocations: 14.69 kB / 0.5238 GB, free: 15.21 MB / 398.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.001287/0.3544, allocations: 1.013 MB / 0.5248 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3546, allocations: 59.89 kB / 0.5249 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3546, allocations: 0 / 0.5249 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.696e-05/0.3547, allocations: 34.09 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.355, allocations: 18.14 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3566, allocations: 1.461 MB / 0.5264 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3569, allocations: 0.6925 MB / 0.527 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.516e-05/0.357, allocations: 16.28 kB / 0.5271 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.357, allocations: 21.27 kB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.357, allocations: 3.938 kB / 0.5271 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.376, allocations: 2.565 MB / 0.5296 GB, free: 11.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.669, allocations: 10.95 kB / 0.5296 GB, free: 11.42 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches