Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 121.6 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 200.7 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 79.86 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3265, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002965/0.3295, allocations: 1.598 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.3304, allocations: 0.532 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.3305, allocations: 1.75 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.3307, allocations: 29.22 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.331, allocations: 80.2 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.3313, allocations: 91.73 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3314, allocations: 60.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3315, allocations: 13.44 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.3316, allocations: 24.02 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.3317, allocations: 27.09 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.3317, allocations: 3.312 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.3318, allocations: 35.81 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.3318, allocations: 16.05 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.3319, allocations: 23.94 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3321, allocations: 84.23 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3321, allocations: 1.375 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3321, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3321, allocations: 0 / 0.5332 GB, free: 11.38 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.0004961/0.3326, allocations: 388.9 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3326, allocations: 9.625 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.3327, allocations: 36.12 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.3327, allocations: 13.02 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3329, allocations: 198.6 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.3329, allocations: 1.75 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.333, allocations: 1.75 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3331, allocations: 48.62 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3331, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3331, allocations: 1.375 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3331, allocations: 0 / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.3332, allocations: 25.72 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.3336, allocations: 294.6 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.3338, allocations: 40.44 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.3338, allocations: 11.73 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3339, allocations: 7.984 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.3339, allocations: 40.02 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3339, allocations: 0 / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005242/0.3344, allocations: 137.9 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.3345, allocations: 52.78 kB / 0.5344 GB, free: 10.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3346, allocations: 162.6 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3347, allocations: 31.58 kB / 0.5346 GB, free: 9.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.3347, allocations: 98.22 kB / 0.5347 GB, free: 9.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.3348, allocations: 18.33 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.3348, allocations: 17.88 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3349, allocations: 321.9 kB / 0.5351 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.335, allocations: 22.05 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.3351, allocations: 19.11 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.3352, allocations: 47.98 kB / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3352, allocations: 0 / 0.5351 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001808/0.3354, allocations: 81.47 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3354, allocations: 9.312 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3354, allocations: 0 / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3355, allocations: 1.406 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3355, allocations: 16.92 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3355, allocations: 7.875 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.3356, allocations: 11.77 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3356, allocations: 1.031 kB / 0.5353 GB, free: 9.336 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.905e-05/0.3357, allocations: 119.3 kB / 0.5354 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.3357, allocations: 8.891 kB / 0.5354 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.336, allocations: 88.91 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.336, allocations: 1.031 kB / 0.5355 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.336, allocations: 5.062 kB / 0.5355 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.336, allocations: 3.984 kB / 0.5355 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3364, allocations: 343.4 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3365, allocations: 0 / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.3365, allocations: 13.67 kB / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3365, allocations: 5.062 kB / 0.5358 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.3365, allocations: 5.094 kB / 0.5358 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3365, allocations: 0 / 0.5358 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3366, allocations: 1.156 kB / 0.5358 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3368, allocations: 183.1 kB / 0.536 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3368, allocations: 83.44 kB / 0.5361 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.3369, allocations: 5.125 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.374e-05/0.3369, allocations: 2.375 kB / 0.5361 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.337, allocations: 6.297 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.337, allocations: 1.562 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3371, allocations: 131.5 kB / 0.5362 GB, free: 8.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3371, allocations: 0 / 0.5362 GB, free: 8.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.3374, allocations: 18.3 kB / 0.5363 GB, free: 8.402 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.001885/0.3392, allocations: 1.014 MB / 0.5372 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3394, allocations: 51.44 kB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3395, allocations: 0 / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.3395, allocations: 24.48 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3399, allocations: 18.8 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3415, allocations: 1.473 MB / 0.5388 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3418, allocations: 0.6927 MB / 0.5394 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.3418, allocations: 13.2 kB / 0.5395 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.3419, allocations: 27.7 kB / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3419, allocations: 0 / 0.5395 GB, free: 5.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3638, allocations: 2.587 MB / 0.542 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.118, allocations: 2.297 kB / 0.542 GB, free: 4.004 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches