Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001225/0.001225, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001144/0.001145, allocations: 188.8 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2178/0.2178, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4206, allocations: 60.82 MB / 0.5184 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003469/0.4241, allocations: 1.583 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4257, allocations: 1.017 MB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.4258, allocations: 1.094 kB / 0.521 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.426, allocations: 32.66 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.4262, allocations: 37.66 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.4265, allocations: 93.66 kB / 0.5211 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.4267, allocations: 65.02 kB / 0.5212 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4268, allocations: 14.64 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.055e-05/0.4269, allocations: 32.36 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.427, allocations: 30.5 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4271, allocations: 3.562 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.4272, allocations: 55.27 kB / 0.5213 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.4272, allocations: 13.75 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.4273, allocations: 23.62 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.4275, allocations: 102.8 kB / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4275, allocations: 0 / 0.5215 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4275, allocations: 3.938 kB / 0.5215 GB, free: 1.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.4275, allocations: 0 / 0.5215 GB, free: 1.246 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004006/0.4279, allocations: 382.1 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.428, allocations: 10.72 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.428, allocations: 40.48 kB / 0.5219 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.4281, allocations: 8.812 kB / 0.5219 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4283, allocations: 188.4 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.4283, allocations: 1.75 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.4283, allocations: 15.33 kB / 0.5221 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.4285, allocations: 76.67 kB / 0.5222 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4285, allocations: 4.422 kB / 0.5222 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4285, allocations: 5.031 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.4285, allocations: 1.031 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4286, allocations: 37.56 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.4289, allocations: 286 kB / 0.5225 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4291, allocations: 52.11 kB / 0.5225 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.4291, allocations: 20.05 kB / 0.5225 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4292, allocations: 1.156 kB / 0.5225 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.4292, allocations: 37.55 kB / 0.5226 GB, free: 136 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4292, allocations: 0 / 0.5226 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006134/0.4298, allocations: 173.3 kB / 0.5227 GB, free: 56 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.4299, allocations: 79.08 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.43, allocations: 147.2 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4301, allocations: 30.77 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.4302, allocations: 97.78 kB / 0.5231 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4302, allocations: 23.97 kB / 0.5231 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.4302, allocations: 26.33 kB / 0.5231 GB, free: 15.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4304, allocations: 315.7 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.4304, allocations: 25.91 kB / 0.5235 GB, free: 15.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.4305, allocations: 41.19 kB / 0.5235 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4307, allocations: 63.17 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4307, allocations: 0 / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002088/0.4309, allocations: 100.4 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4309, allocations: 5.016 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.431, allocations: 1.219 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.431, allocations: 0.7031 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.4311, allocations: 20.75 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4311, allocations: 5.344 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.4311, allocations: 5.312 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4312, allocations: 3.266 kB / 0.5237 GB, free: 15.23 MB / 398.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 (8): * Single equations (assignments): 8 * 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 8.086e-05/0.4312, allocations: 123.1 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.4313, allocations: 8.297 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.4316, allocations: 116.4 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4316, allocations: 5.25 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4316, allocations: 3.938 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4316, allocations: 1.797 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.4321, allocations: 379 kB / 0.5243 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4321, allocations: 0 / 0.5243 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.862e-05/0.4322, allocations: 17.89 kB / 0.5243 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4322, allocations: 4.312 kB / 0.5243 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4322, allocations: 5.781 kB / 0.5243 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4322, allocations: 8.609 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4322, allocations: 1.562 kB / 0.5243 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.4325, allocations: 192.3 kB / 0.5245 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.4325, allocations: 92.52 kB / 0.5246 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.4325, allocations: 0.6562 kB / 0.5246 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.4326, allocations: 5.734 kB / 0.5246 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.4327, allocations: 14.12 kB / 0.5246 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.4327, allocations: 2.281 kB / 0.5246 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.369e-05/0.4328, allocations: 108.8 kB / 0.5247 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4328, allocations: 0 / 0.5247 GB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.4331, allocations: 27.16 kB / 0.5248 GB, free: 14.32 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 (8): * Single equations (assignments): 8 * 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.001372/0.4344, allocations: 1.075 MB / 0.5258 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4347, allocations: 62.5 kB / 0.5259 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4347, allocations: 4 kB / 0.5259 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.4348, allocations: 39.09 kB / 0.5259 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4351, allocations: 13.81 kB / 0.5259 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.4367, allocations: 1.47 MB / 0.5274 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.437, allocations: 0.6986 MB / 0.528 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.4371, allocations: 18.97 kB / 0.5281 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.4371, allocations: 27.48 kB / 0.5281 GB, free: 11.47 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4371, allocations: 0 / 0.5281 GB, free: 11.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.4584, allocations: 2.962 MB / 0.531 GB, free: 10.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.351, allocations: 10.14 kB / 0.531 GB, free: 10.17 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches