Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001225/0.001225, allocations: 122.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.001381/0.001381, allocations: 202 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.359/1.359, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3317, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.003163/0.3349, allocations: 1.596 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3359, allocations: 0.5291 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.704e-05/0.336, allocations: 1.062 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.3363, allocations: 33.34 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3366, allocations: 76.92 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.3368, allocations: 90.62 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.337, allocations: 65.41 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3371, allocations: 11 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.159e-05/0.3372, allocations: 23.58 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.3373, allocations: 22.8 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3373, allocations: 2.75 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.3374, allocations: 39.77 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.3374, allocations: 13.14 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.3375, allocations: 20.56 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.3377, allocations: 91.48 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3377, allocations: 0 / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3377, allocations: 1.531 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3377, allocations: 0 / 0.5332 GB, free: 11.4 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.0005524/0.3383, allocations: 388.2 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3384, allocations: 10.28 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.418e-05/0.3384, allocations: 40.81 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.3385, allocations: 8.547 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3387, allocations: 194.1 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3387, allocations: 6.281 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3388, allocations: 2.438 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3389, allocations: 51.16 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3389, allocations: 3.984 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.339, allocations: 5.75 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.339, allocations: 0 / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.3391, allocations: 28.59 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.3395, allocations: 279.7 kB / 0.5342 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.3397, allocations: 44.38 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.054e-05/0.3398, allocations: 14.8 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3398, allocations: 5.391 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3399, allocations: 36 kB / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3399, allocations: 0 / 0.5343 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005552/0.3404, allocations: 141.9 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.3405, allocations: 51.41 kB / 0.5344 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3407, allocations: 166.6 kB / 0.5346 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3407, allocations: 31.08 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.3408, allocations: 100.2 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3408, allocations: 17.17 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.3408, allocations: 17.84 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.341, allocations: 321.6 kB / 0.5351 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.3411, allocations: 18.98 kB / 0.5351 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.3411, allocations: 18.98 kB / 0.5351 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.3413, allocations: 52.39 kB / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3413, allocations: 0 / 0.5352 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.3415, allocations: 83.81 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3415, allocations: 8.312 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3415, allocations: 1.375 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3415, allocations: 0 / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/0.3416, allocations: 13.61 kB / 0.5353 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3416, allocations: 3.938 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.3417, allocations: 12.11 kB / 0.5353 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3417, allocations: 1.375 kB / 0.5353 GB, free: 9.363 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.0001077/0.3418, allocations: 115.3 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.3418, allocations: 12.02 kB / 0.5354 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.3421, allocations: 93.53 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3421, allocations: 1.375 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3421, allocations: 3.938 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3421, allocations: 7.984 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.3425, allocations: 336 kB / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3426, allocations: 0 / 0.5358 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.3426, allocations: 21.55 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3426, allocations: 9.25 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.3426, allocations: 0 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3427, allocations: 1.375 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3427, allocations: 192 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3429, allocations: 184.5 kB / 0.536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.343, allocations: 82.44 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.343, allocations: 5.312 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.484e-05/0.3431, allocations: 2.75 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3431, allocations: 6.734 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3431, allocations: 1.375 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.3432, allocations: 128.1 kB / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3432, allocations: 0 / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.3435, allocations: 17.58 kB / 0.5363 GB, free: 8.422 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.001929/0.3454, allocations: 1.019 MB / 0.5372 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3456, allocations: 44.62 kB / 0.5373 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3456, allocations: 3.938 kB / 0.5373 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.3457, allocations: 22.89 kB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3461, allocations: 28.22 kB / 0.5373 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3478, allocations: 1.462 MB / 0.5388 GB, free: 6.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3482, allocations: 0.6991 MB / 0.5395 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.3483, allocations: 14.38 kB / 0.5395 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.3483, allocations: 27.14 kB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3483, allocations: 1.438 kB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.372, allocations: 2.579 MB / 0.542 GB, free: 4.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.967, allocations: 6.469 kB / 0.542 GB, free: 4.02 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches