Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001695, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002912/0.3439, allocations: 1.596 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.3449, allocations: 0.5277 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.345, allocations: 0 / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.3453, allocations: 35.44 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.3456, allocations: 77.02 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3458, allocations: 99.62 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.346, allocations: 56.59 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.3461, allocations: 14.2 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.566e-05/0.3461, allocations: 20.09 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.3462, allocations: 26.16 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3462, allocations: 3.969 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.3463, allocations: 35.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.3464, allocations: 14.41 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.3464, allocations: 27.17 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3466, allocations: 85.91 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3466, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3466, allocations: 3.938 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3466, allocations: 1.375 kB / 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.0005111/0.3471, allocations: 394.3 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3472, allocations: 9.625 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.3472, allocations: 34.73 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.3473, allocations: 16.97 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.3475, allocations: 195.5 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3475, allocations: 5.5 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3476, allocations: 5.312 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.3477, allocations: 56.61 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3477, allocations: 3.984 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.3477, allocations: 1.375 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3477, allocations: 0 / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.722e-05/0.3478, allocations: 21.73 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.3482, allocations: 276.2 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3484, allocations: 46.98 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.3485, allocations: 15.73 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3485, allocations: 1.375 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3485, allocations: 35.94 kB / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3485, allocations: 0 / 0.5343 GB, free: 10.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005353/0.3491, allocations: 146 kB / 0.5344 GB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3491, allocations: 52.78 kB / 0.5344 GB, free: 10.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.3493, allocations: 181.5 kB / 0.5346 GB, free: 9.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3493, allocations: 31.08 kB / 0.5347 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.3494, allocations: 100.2 kB / 0.5347 GB, free: 9.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.3494, allocations: 17.22 kB / 0.5348 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3495, allocations: 21.83 kB / 0.5348 GB, free: 9.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3496, allocations: 319 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/0.3497, allocations: 13.61 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.3498, allocations: 18.7 kB / 0.5351 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3499, allocations: 55.98 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3499, allocations: 5.094 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001943/0.3501, allocations: 80.11 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3501, allocations: 10.08 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.3501, allocations: 0 / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3502, allocations: 1.281 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.3502, allocations: 9.406 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3502, allocations: 3.938 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.3503, allocations: 11.73 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3503, allocations: 4.75 kB / 0.5353 GB, free: 9.316 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 0.0001056/0.3504, allocations: 116.8 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3505, allocations: 8.484 kB / 0.5354 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.3507, allocations: 93.58 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3507, allocations: 1.031 kB / 0.5355 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3507, allocations: 5.219 kB / 0.5355 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3507, allocations: 4 kB / 0.5355 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.3512, allocations: 352.6 kB / 0.5358 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3512, allocations: 0 / 0.5358 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.399e-05/0.3513, allocations: 10 kB / 0.5359 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3513, allocations: 3.938 kB / 0.5359 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3513, allocations: 9.047 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3513, allocations: 1.281 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3513, allocations: 0 / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3516, allocations: 184 kB / 0.536 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.3516, allocations: 87.27 kB / 0.5361 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3517, allocations: 5 kB / 0.5361 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3517, allocations: 7.547 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3518, allocations: 2.281 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3518, allocations: 1.031 kB / 0.5361 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3519, allocations: 143.9 kB / 0.5363 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.3519, allocations: 5.156 kB / 0.5363 GB, free: 8.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3522, allocations: 22.25 kB / 0.5363 GB, free: 8.359 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.00187/0.354, allocations: 1.006 MB / 0.5373 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3542, allocations: 48.31 kB / 0.5373 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3542, allocations: 0 / 0.5373 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.3543, allocations: 23.42 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.3547, allocations: 19.05 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.3563, allocations: 1.493 MB / 0.5388 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3567, allocations: 0.7 MB / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.3567, allocations: 13.48 kB / 0.5395 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3568, allocations: 23.73 kB / 0.5396 GB, free: 5.434 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3568, allocations: 3.938 kB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.3796, allocations: 2.655 MB / 0.5422 GB, free: 3.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/8.008, allocations: 13.41 kB / 0.5422 GB, free: 3.926 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches