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.001259/0.001259, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 247 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.12 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 79.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3553, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003228/0.3585, allocations: 1.613 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3605, allocations: 1.172 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.904e-05/0.3605, allocations: 1.188 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.3608, allocations: 28.81 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.3611, allocations: 82.28 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.3614, allocations: 119.4 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3615, allocations: 79.17 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3617, allocations: 23 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.3617, allocations: 26.91 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.3619, allocations: 43.53 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3619, allocations: 5.5 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3621, allocations: 104.1 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.3622, allocations: 13.48 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.683e-05/0.3622, allocations: 33.3 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3625, allocations: 158.2 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3625, allocations: 5.312 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3625, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3625, allocations: 0 / 0.534 GB, free: 10.75 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.0005428/0.3631, allocations: 415.5 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3631, allocations: 13.61 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.3632, allocations: 36.12 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.3632, allocations: 9.016 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3634, allocations: 199.2 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3635, allocations: 5.75 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3635, allocations: 3.125 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.3637, allocations: 87.88 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3637, allocations: 3.953 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.3637, allocations: 1.375 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3637, allocations: 1.375 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3638, allocations: 35.22 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.3643, allocations: 311.1 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.3644, allocations: 53.92 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.3645, allocations: 22.59 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3645, allocations: 3.984 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3646, allocations: 39.97 kB / 0.5352 GB, free: 9.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.3646, allocations: 7.875 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006484/0.3652, allocations: 197.9 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.3653, allocations: 79.61 kB / 0.5355 GB, free: 9.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.3655, allocations: 158.8 kB / 0.5357 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3655, allocations: 26.83 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.3656, allocations: 99.41 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.3656, allocations: 30.61 kB / 0.5358 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3657, allocations: 20.78 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3658, allocations: 321.7 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.3659, allocations: 27.36 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.241e-05/0.366, allocations: 45.12 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3662, allocations: 77.73 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3662, allocations: 0 / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002447/0.3664, allocations: 107.9 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3665, allocations: 5.312 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3665, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3665, allocations: 1.062 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3666, allocations: 17.98 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3666, allocations: 8.906 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.3667, allocations: 7.469 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3667, allocations: 6.344 kB / 0.5364 GB, free: 8.508 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 0.0001063/0.3668, allocations: 119.4 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3669, allocations: 12.38 kB / 0.5365 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.3672, allocations: 131.4 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3672, allocations: 1.094 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3672, allocations: 7.938 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3672, allocations: 1.125 kB / 0.5367 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.3677, allocations: 403.8 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3677, allocations: 1.281 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.3678, allocations: 20.89 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3678, allocations: 1.188 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3678, allocations: 1.375 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3678, allocations: 0 / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3678, allocations: 5.375 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3681, allocations: 210.2 kB / 0.5373 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.615e-05/0.3682, allocations: 87.53 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3682, allocations: 5.344 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.3683, allocations: 3.5 kB / 0.5374 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.3683, allocations: 10.7 kB / 0.5374 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.3683, allocations: 6.75 kB / 0.5374 GB, free: 7.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.3685, allocations: 115.8 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3685, allocations: 1.188 kB / 0.5375 GB, free: 7.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.3688, allocations: 49.58 kB / 0.5376 GB, free: 7.477 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.002103/0.3709, allocations: 1.131 MB / 0.5387 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.3711, allocations: 75.23 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3711, allocations: 0 / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-05/0.3712, allocations: 41.12 kB / 0.5388 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.3716, allocations: 18.41 kB / 0.5388 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3734, allocations: 1.549 MB / 0.5403 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3737, allocations: 0.698 MB / 0.541 GB, free: 4.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.511e-05/0.3738, allocations: 28.5 kB / 0.541 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3739, allocations: 31.86 kB / 0.5411 GB, free: 4.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3739, allocations: 8.688 kB / 0.5411 GB, free: 4.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.3996, allocations: 3.441 MB / 0.5444 GB, free: 2.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.235, allocations: 5.188 kB / 0.5444 GB, free: 2.457 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