Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, 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.002035/0.002035, 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.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 75.88 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3446, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002823/0.3475, allocations: 1.613 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3492, allocations: 1.167 MB / 0.5332 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.3493, allocations: 4.906 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3495, allocations: 29.41 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.3499, allocations: 81.66 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.3502, allocations: 118 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3504, allocations: 75.45 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3506, allocations: 24.05 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.3506, allocations: 34.5 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.3508, allocations: 33.45 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.3508, allocations: 4.406 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.351, allocations: 104.6 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.351, allocations: 21.12 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.3511, allocations: 30.06 kB / 0.5338 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3514, allocations: 157.5 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3514, allocations: 0 / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3514, allocations: 0 / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3514, allocations: 0 / 0.5339 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005179/0.3519, allocations: 412.2 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.352, allocations: 13.72 kB / 0.5343 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.352, allocations: 32.72 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.352, allocations: 12.5 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3523, allocations: 198.8 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.3523, allocations: 1.906 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.3523, allocations: 11.52 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3525, allocations: 83.5 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3525, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3525, allocations: 5.469 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3525, allocations: 1.25 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3526, allocations: 31.59 kB / 0.5347 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3531, allocations: 314.4 kB / 0.535 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.3532, allocations: 60.97 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.3533, allocations: 22.59 kB / 0.5351 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.3533, allocations: 5.359 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3533, allocations: 35.94 kB / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3533, allocations: 0 / 0.5351 GB, free: 9.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006524/0.354, allocations: 198.6 kB / 0.5353 GB, free: 9.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.3541, allocations: 82.42 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3542, allocations: 163.6 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3543, allocations: 25.7 kB / 0.5356 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3543, allocations: 96.27 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3543, allocations: 30.3 kB / 0.5357 GB, free: 9.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.3544, allocations: 20.59 kB / 0.5357 GB, free: 9.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3545, allocations: 321.6 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-05/0.3546, allocations: 32.41 kB / 0.536 GB, free: 8.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.3547, allocations: 40.95 kB / 0.5361 GB, free: 8.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.3549, allocations: 80.58 kB / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3549, allocations: 0 / 0.5362 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002315/0.3551, allocations: 104.3 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3552, allocations: 5.5 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3552, allocations: 0 / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3552, allocations: 0 / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.3553, allocations: 22.48 kB / 0.5363 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3553, allocations: 5.312 kB / 0.5363 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.3554, allocations: 15.2 kB / 0.5363 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3554, allocations: 2.156 kB / 0.5363 GB, free: 8.535 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 (8): * Single equations (assignments): 8 * 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.782e-05/0.3555, allocations: 115.2 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3555, allocations: 8.156 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.3558, allocations: 127.9 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.3559, allocations: 1.406 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3559, allocations: 11.88 kB / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3559, allocations: 0 / 0.5366 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.3564, allocations: 405.2 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3564, allocations: 0 / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.3565, allocations: 22.27 kB / 0.537 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3565, allocations: 3.938 kB / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3565, allocations: 1.156 kB / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3565, allocations: 1.125 kB / 0.537 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3565, allocations: 4.375 kB / 0.537 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3568, allocations: 207.6 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.3568, allocations: 87.36 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3569, allocations: 1.094 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.357, allocations: 15.42 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.357, allocations: 6.188 kB / 0.5373 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.357, allocations: 6.25 kB / 0.5373 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3571, allocations: 119.3 kB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3572, allocations: 0 / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3575, allocations: 46.48 kB / 0.5374 GB, free: 7.512 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 (8): * Single equations (assignments): 8 * 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.001497/0.359, allocations: 1.132 MB / 0.5386 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3592, allocations: 75.77 kB / 0.5386 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3592, allocations: 0 / 0.5386 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.3593, allocations: 44.53 kB / 0.5387 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3597, allocations: 15.8 kB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3614, allocations: 1.546 MB / 0.5402 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3617, allocations: 0.7025 MB / 0.5409 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.3618, allocations: 20.97 kB / 0.5409 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.3619, allocations: 32.11 kB / 0.5409 GB, free: 4.461 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3619, allocations: 0 / 0.5409 GB, free: 4.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.3815, allocations: 3.465 MB / 0.5443 GB, free: 2.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.905, allocations: 16.75 kB / 0.5443 GB, free: 2.48 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches