Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 83.84 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002956/0.3273, allocations: 1.603 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.329, allocations: 1.162 MB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.3291, allocations: 4 kB / 0.5333 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.3293, allocations: 28.89 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3296, allocations: 82.14 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.33, allocations: 110.3 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3301, allocations: 70.8 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3302, allocations: 10.12 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.3303, allocations: 30.41 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.3304, allocations: 30.62 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3305, allocations: 8.312 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.3307, allocations: 98.78 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.3307, allocations: 20.72 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.3308, allocations: 19.91 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.331, allocations: 142.1 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.331, allocations: 5.312 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.331, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3311, allocations: 0 / 0.534 GB, free: 10.78 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.000504/0.3316, allocations: 403.5 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3316, allocations: 9.625 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.3317, allocations: 36.12 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.3317, allocations: 13 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3319, allocations: 192.5 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3319, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.332, allocations: 1.75 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3321, allocations: 73.03 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3321, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3322, allocations: 5.312 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3322, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.3323, allocations: 25.72 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.3326, allocations: 284.3 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3329, allocations: 49.75 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.3329, allocations: 19.81 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3329, allocations: 0 / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.333, allocations: 31.94 kB / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.333, allocations: 0 / 0.5351 GB, free: 9.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000567/0.3336, allocations: 155.7 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3336, allocations: 77.11 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3338, allocations: 145.2 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3338, allocations: 25.7 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.3339, allocations: 100.2 kB / 0.5355 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3339, allocations: 17.22 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3339, allocations: 23.2 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3341, allocations: 320.2 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.3342, allocations: 24.36 kB / 0.5359 GB, free: 8.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-05/0.3343, allocations: 35.44 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3344, allocations: 60.45 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3344, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.3346, allocations: 91.8 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3346, allocations: 5.344 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3346, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3347, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.3347, allocations: 22.25 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3347, allocations: 0 / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3348, allocations: 8.531 kB / 0.5361 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.3348, allocations: 1.469 kB / 0.5361 GB, free: 8.66 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 8.58e-05/0.3349, allocations: 113 kB / 0.5362 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.3349, allocations: 16.25 kB / 0.5363 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3352, allocations: 96.16 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3352, allocations: 1.25 kB / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3352, allocations: 0 / 0.5363 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3352, allocations: 3.938 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.3357, allocations: 363.2 kB / 0.5367 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3357, allocations: 5.219 kB / 0.5367 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.3358, allocations: 12.64 kB / 0.5367 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3358, allocations: 1 kB / 0.5367 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3358, allocations: 5 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3358, allocations: 192 / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3358, allocations: 1.125 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.336, allocations: 186.9 kB / 0.5369 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.3361, allocations: 86.31 kB / 0.537 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.3361, allocations: 8.859 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.3362, allocations: 3.469 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.3362, allocations: 2.312 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3363, allocations: 0.9688 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3364, allocations: 119 kB / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3364, allocations: 0 / 0.5371 GB, free: 7.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3367, allocations: 43.39 kB / 0.5372 GB, free: 7.691 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.002101/0.3388, allocations: 1.104 MB / 0.5382 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.339, allocations: 58.11 kB / 0.5383 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.339, allocations: 1.406 kB / 0.5383 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.244e-05/0.3391, allocations: 28.64 kB / 0.5383 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3394, allocations: 18.48 kB / 0.5383 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3412, allocations: 1.449 MB / 0.5397 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3416, allocations: 0.6975 MB / 0.5404 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.885e-05/0.3417, allocations: 30.55 kB / 0.5405 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.3417, allocations: 26.17 kB / 0.5405 GB, free: 4.711 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3417, allocations: 0 / 0.5405 GB, free: 4.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.3687, allocations: 3.232 MB / 0.5436 GB, free: 2.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.056, allocations: 8.125 kB / 0.5436 GB, free: 2.852 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches