Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.00138, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2409/0.2409, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 76.09 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3594, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002707/0.3622, allocations: 1.601 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009064/0.3631, allocations: 0.5305 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.3632, allocations: 0.9688 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.3634, allocations: 28.16 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.3636, allocations: 79.8 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3639, allocations: 87.16 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.3641, allocations: 69.84 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.3642, allocations: 6.594 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.3642, allocations: 24.77 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.3643, allocations: 21.92 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.3643, allocations: 6.562 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.916e-05/0.3644, allocations: 36.39 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.3645, allocations: 16.36 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.3645, allocations: 16.25 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3647, allocations: 81.14 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3647, allocations: 0 / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3647, allocations: 1.062 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3647, allocations: 0 / 0.5331 GB, free: 11.46 MB / 398.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.0004093/0.3651, allocations: 379.7 kB / 0.5334 GB, free: 11.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3652, allocations: 13.78 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.3652, allocations: 39.84 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.3652, allocations: 12.23 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3654, allocations: 195 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.3654, allocations: 1.5 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.3655, allocations: 2.812 kB / 0.5337 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3656, allocations: 55.12 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3656, allocations: 1.188 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3656, allocations: 4 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3656, allocations: 1.219 kB / 0.5337 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.3657, allocations: 20.55 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.3661, allocations: 279.7 kB / 0.534 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3662, allocations: 38.59 kB / 0.5341 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.3663, allocations: 16.56 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3663, allocations: 0 / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3664, allocations: 40.41 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3664, allocations: 0 / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005217/0.3669, allocations: 136.5 kB / 0.5342 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3669, allocations: 60.3 kB / 0.5343 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3671, allocations: 149 kB / 0.5344 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3671, allocations: 29.7 kB / 0.5345 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.3672, allocations: 98.88 kB / 0.5346 GB, free: 9.914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.3672, allocations: 14.7 kB / 0.5346 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3672, allocations: 18.22 kB / 0.5346 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3673, allocations: 324.2 kB / 0.5349 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.3674, allocations: 22.7 kB / 0.5349 GB, free: 9.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.3675, allocations: 18.98 kB / 0.5349 GB, free: 9.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3676, allocations: 48.2 kB / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3676, allocations: 0 / 0.535 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001797/0.3678, allocations: 84.02 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3678, allocations: 5.5 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.3678, allocations: 0 / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3679, allocations: 1.375 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.3679, allocations: 13.61 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3679, allocations: 3.938 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.368, allocations: 12.11 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.368, allocations: 5.312 kB / 0.5351 GB, free: 9.434 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 (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 7.659e-05/0.3681, allocations: 114 kB / 0.5352 GB, free: 9.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3681, allocations: 8.031 kB / 0.5352 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.3684, allocations: 93.5 kB / 0.5353 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3684, allocations: 0 / 0.5353 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3684, allocations: 1.375 kB / 0.5353 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3684, allocations: 7.938 kB / 0.5353 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.3688, allocations: 346.4 kB / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3688, allocations: 0 / 0.5357 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.559e-05/0.3689, allocations: 13.61 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3689, allocations: 1.375 kB / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3689, allocations: 0 / 0.5357 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3689, allocations: 5.312 kB / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3689, allocations: 0 / 0.5357 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3691, allocations: 183 kB / 0.5359 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.3691, allocations: 87.77 kB / 0.5359 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3692, allocations: 256 / 0.5359 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.3692, allocations: 16 kB / 0.536 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.3693, allocations: 5.359 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3693, allocations: 1.375 kB / 0.536 GB, free: 8.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.3694, allocations: 125.3 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3694, allocations: 0 / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3696, allocations: 18.98 kB / 0.5361 GB, free: 8.488 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.001224/0.3709, allocations: 0.9937 MB / 0.5371 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.371, allocations: 52.62 kB / 0.5371 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3711, allocations: 0 / 0.5371 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3711, allocations: 27.34 kB / 0.5371 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3715, allocations: 25.95 kB / 0.5372 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3729, allocations: 1.438 MB / 0.5386 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3732, allocations: 0.69 MB / 0.5392 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.3732, allocations: 13.62 kB / 0.5393 GB, free: 5.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.3733, allocations: 27.73 kB / 0.5393 GB, free: 5.578 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3733, allocations: 1.219 kB / 0.5393 GB, free: 5.578 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.3919, allocations: 2.554 MB / 0.5418 GB, free: 4.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.996, allocations: 5.141 kB / 0.5418 GB, free: 4.129 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches