Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, 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.2243/0.2243, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3128, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00284/0.3157, allocations: 1.601 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3174, allocations: 1.16 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.3174, allocations: 1.469 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3176, allocations: 32.53 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.3179, allocations: 81.36 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3182, allocations: 121.9 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3184, allocations: 62.66 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.3185, allocations: 15.64 kB / 0.5336 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.3185, allocations: 26.08 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3187, allocations: 34.94 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.3187, allocations: 3.406 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3189, allocations: 99.83 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.3189, allocations: 15.19 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.319, allocations: 28.03 kB / 0.5338 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3192, allocations: 147.3 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3192, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3192, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3192, allocations: 1.688 kB / 0.534 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004925/0.3197, allocations: 398.6 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3198, allocations: 9.688 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.3198, allocations: 32.78 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3199, allocations: 12.67 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3201, allocations: 196.4 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.3201, allocations: 1.375 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.3201, allocations: 6.5 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3203, allocations: 68.42 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3203, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3203, allocations: 1.219 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3203, allocations: 3.938 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.3204, allocations: 37.94 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3208, allocations: 280 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.321, allocations: 45.41 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.3211, allocations: 19.19 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3211, allocations: 1.469 kB / 0.535 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3211, allocations: 36 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3211, allocations: 0 / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005372/0.3217, allocations: 150 kB / 0.5352 GB, free: 9.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.3217, allocations: 78.48 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3219, allocations: 143.5 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3219, allocations: 31.08 kB / 0.5355 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.322, allocations: 98.81 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.322, allocations: 18.61 kB / 0.5356 GB, free: 9.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.3221, allocations: 13.84 kB / 0.5356 GB, free: 9.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3222, allocations: 325.5 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.338e-05/0.3223, allocations: 20.36 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.3224, allocations: 43.44 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3225, allocations: 55.08 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3225, allocations: 5.375 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001854/0.3227, allocations: 78.62 kB / 0.5361 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3227, allocations: 9.484 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3227, allocations: 0 / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3228, allocations: 1.375 kB / 0.5361 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.3228, allocations: 13.66 kB / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3228, allocations: 0 / 0.5361 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.3229, allocations: 16.05 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3229, allocations: 1.656 kB / 0.5361 GB, free: 8.664 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 9.208e-05/0.323, allocations: 114 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.323, allocations: 8.078 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.3233, allocations: 104.2 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3233, allocations: 4 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3233, allocations: 0 / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3233, allocations: 5.312 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.3238, allocations: 358.8 kB / 0.5367 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3238, allocations: 0 / 0.5367 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.3238, allocations: 17.67 kB / 0.5367 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3239, allocations: 1.156 kB / 0.5367 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3239, allocations: 8.969 kB / 0.5367 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3239, allocations: 4 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3239, allocations: 1.031 kB / 0.5367 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.3241, allocations: 178.3 kB / 0.5369 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.3242, allocations: 87.41 kB / 0.537 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3242, allocations: 9.25 kB / 0.537 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3243, allocations: 6.578 kB / 0.537 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3243, allocations: 10.44 kB / 0.537 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3244, allocations: 5.062 kB / 0.537 GB, free: 7.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.3245, allocations: 117.2 kB / 0.5371 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 0 / 0.5371 GB, free: 7.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.3248, allocations: 39.83 kB / 0.5372 GB, free: 7.688 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.002094/0.3269, allocations: 1.093 MB / 0.5382 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3271, allocations: 58.61 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3271, allocations: 1.094 kB / 0.5383 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.3272, allocations: 24.86 kB / 0.5383 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.3275, allocations: 21.64 kB / 0.5383 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3292, allocations: 1.452 MB / 0.5398 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3295, allocations: 0.6947 MB / 0.5404 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.3296, allocations: 25.89 kB / 0.5405 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.3297, allocations: 26.89 kB / 0.5405 GB, free: 4.719 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3297, allocations: 0 / 0.5405 GB, free: 4.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.3545, allocations: 3.246 MB / 0.5437 GB, free: 2.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/8.054, allocations: 9.859 kB / 0.5437 GB, free: 2.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches