Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001442/0.001442, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001595, allocations: 201.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.9 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.2139/0.2139, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3572, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002907/0.3601, allocations: 1.599 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3612, allocations: 0.547 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.283e-05/0.3613, allocations: 0 / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.3615, allocations: 23.17 kB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.3619, allocations: 79.14 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.3622, allocations: 110.7 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3624, allocations: 66.83 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3625, allocations: 10.47 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.3626, allocations: 24.14 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.3626, allocations: 25.81 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3626, allocations: 3.062 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.941e-05/0.3627, allocations: 33.12 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.3628, allocations: 23.95 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.3629, allocations: 25.08 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.3631, allocations: 86.84 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3631, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3631, allocations: 1.375 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3631, allocations: 0 / 0.5331 GB, free: 11.41 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.0005383/0.3636, allocations: 377.2 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3637, allocations: 9.625 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.3637, allocations: 36.12 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.3638, allocations: 12.97 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.364, allocations: 206.5 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.364, allocations: 1.75 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.364, allocations: 3.125 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.3642, allocations: 48.62 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3642, allocations: 3.984 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3642, allocations: 4 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3642, allocations: 1.375 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.3643, allocations: 25.72 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3647, allocations: 284.2 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.3649, allocations: 44.42 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.365, allocations: 17.11 kB / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.365, allocations: 96 / 0.5341 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.365, allocations: 39.92 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.365, allocations: 0 / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005701/0.3656, allocations: 163.1 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3656, allocations: 52.78 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.3658, allocations: 162.3 kB / 0.5345 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3658, allocations: 25.7 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.3659, allocations: 100.4 kB / 0.5347 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.3659, allocations: 13.67 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3659, allocations: 18.19 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.3661, allocations: 322.3 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.3661, allocations: 20.2 kB / 0.535 GB, free: 9.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3662, allocations: 23.33 kB / 0.535 GB, free: 9.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3664, allocations: 54.98 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3664, allocations: 1.344 kB / 0.5351 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.3666, allocations: 86.56 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3666, allocations: 5.469 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3666, allocations: 0 / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3666, allocations: 1.094 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.3667, allocations: 13.7 kB / 0.5352 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3667, allocations: 9.188 kB / 0.5352 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3668, allocations: 6.75 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3668, allocations: 1.969 kB / 0.5352 GB, free: 9.379 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 7.643e-05/0.3668, allocations: 123.1 kB / 0.5353 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3669, allocations: 12.28 kB / 0.5353 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3671, allocations: 96.17 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3672, allocations: 1.156 kB / 0.5354 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3672, allocations: 5.031 kB / 0.5354 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3672, allocations: 0 / 0.5354 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.3676, allocations: 360.9 kB / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3676, allocations: 64 / 0.5358 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.3677, allocations: 18.23 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3677, allocations: 3.938 kB / 0.5358 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3677, allocations: 5.094 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3677, allocations: 0 / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3677, allocations: 1.219 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.3679, allocations: 190.1 kB / 0.536 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.368, allocations: 83.39 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.368, allocations: 5.094 kB / 0.5361 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.9e-05/0.3681, allocations: 6.297 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.3681, allocations: 6.25 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.3681, allocations: 2.281 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.3682, allocations: 128.9 kB / 0.5362 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3682, allocations: 0 / 0.5362 GB, free: 8.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.3685, allocations: 14.84 kB / 0.5362 GB, free: 8.418 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.001215/0.3697, allocations: 1.018 MB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.3699, allocations: 62.14 kB / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3699, allocations: 0 / 0.5373 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.37, allocations: 25.86 kB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.3704, allocations: 14.86 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3719, allocations: 1.492 MB / 0.5388 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3722, allocations: 0.6932 MB / 0.5394 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.3722, allocations: 19.58 kB / 0.5395 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.3723, allocations: 28.73 kB / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3723, allocations: 0 / 0.5395 GB, free: 5.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.3906, allocations: 2.63 MB / 0.5421 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.848, allocations: 6.234 kB / 0.5421 GB, free: 3.98 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches