Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001419/0.001419, allocations: 110.4 kB / 17.78 MB, free: 5.293 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.001895/0.001895, allocations: 187.1 kB / 18.71 MB, free: 4.371 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.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2276/0.2276, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4065, allocations: 60.83 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002729/0.4092, allocations: 1.558 MB / 0.52 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006795/0.4099, allocations: 400.5 kB / 0.5203 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.41, allocations: 1.125 kB / 0.5203 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.4102, allocations: 24.95 kB / 0.5204 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.4104, allocations: 44.56 kB / 0.5204 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.4107, allocations: 76.09 kB / 0.5205 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.4108, allocations: 59.11 kB / 0.5205 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.4109, allocations: 15.88 kB / 0.5206 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.411, allocations: 19.28 kB / 0.5206 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.821e-05/0.411, allocations: 19.08 kB / 0.5206 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.4111, allocations: 2 kB / 0.5206 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.4111, allocations: 34.42 kB / 0.5206 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.4112, allocations: 13.72 kB / 0.5206 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.4112, allocations: 18.22 kB / 0.5207 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4114, allocations: 84.06 kB / 0.5207 GB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4114, allocations: 4.703 kB / 0.5207 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.4114, allocations: 0 / 0.5207 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4115, allocations: 1.031 kB / 0.5207 GB, free: 1.996 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.0003859/0.4118, allocations: 378.3 kB / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.4119, allocations: 9.859 kB / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.4119, allocations: 37.06 kB / 0.5211 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.412, allocations: 7.625 kB / 0.5212 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4121, allocations: 182.4 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4121, allocations: 6.172 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4122, allocations: 5.906 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4123, allocations: 52.75 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4123, allocations: 1.406 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4123, allocations: 3.938 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4123, allocations: 1.531 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.249e-05/0.4124, allocations: 21.55 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.4127, allocations: 273.9 kB / 0.5217 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.413, allocations: 51.73 kB / 0.5217 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.413, allocations: 13.84 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.413, allocations: 1.219 kB / 0.5217 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4131, allocations: 36.52 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4131, allocations: 0 / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005428/0.4136, allocations: 139.2 kB / 0.5219 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.4136, allocations: 53.3 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4138, allocations: 154.5 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.4138, allocations: 25.7 kB / 0.5221 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.4139, allocations: 98.86 kB / 0.5222 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.4139, allocations: 15.31 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4139, allocations: 17.88 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.414, allocations: 327.4 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.168e-05/0.414, allocations: 14.8 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.4141, allocations: 19.48 kB / 0.5226 GB, free: 204 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.4143, allocations: 46.06 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4143, allocations: 1.25 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.4145, allocations: 88.02 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4145, allocations: 6.719 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.4145, allocations: 0 / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4145, allocations: 0 / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.4146, allocations: 13.23 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4146, allocations: 0 / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.045e-05/0.4146, allocations: 9.422 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4147, allocations: 5.141 kB / 0.5228 GB, free: 120 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 6.467e-05/0.4147, allocations: 116.8 kB / 0.5229 GB, free: 0 / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.4148, allocations: 12.33 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.415, allocations: 98.25 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.415, allocations: 0 / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4151, allocations: 0.9062 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4151, allocations: 4.547 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.4155, allocations: 342.5 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4155, allocations: 1.125 kB / 0.5233 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.323e-05/0.4156, allocations: 20.06 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4156, allocations: 1.156 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4156, allocations: 4.594 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4157, allocations: 1.125 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4157, allocations: 0 / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.4159, allocations: 181.7 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.416, allocations: 87.23 kB / 0.5236 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.416, allocations: 9.859 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.4161, allocations: 5.328 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.4162, allocations: 3.766 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.4162, allocations: 1.156 kB / 0.5236 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4163, allocations: 120.3 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4163, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4166, allocations: 15.06 kB / 0.5237 GB, free: 15.23 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.001376/0.4179, allocations: 0.9924 MB / 0.5247 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4182, allocations: 56.64 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4182, allocations: 3.938 kB / 0.5248 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.4183, allocations: 26.97 kB / 0.5248 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.4186, allocations: 24.62 kB / 0.5248 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.4204, allocations: 1.44 MB / 0.5262 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4208, allocations: 0.7011 MB / 0.5269 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.4208, allocations: 11.33 kB / 0.5269 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.4209, allocations: 21.31 kB / 0.5269 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4209, allocations: 0 / 0.5269 GB, free: 12.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.4398, allocations: 2.527 MB / 0.5294 GB, free: 11.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.967, allocations: 6.391 kB / 0.5294 GB, free: 11.51 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches