Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 118.8 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 202 kB / 18.73 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 83.8 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3246, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002911/0.3276, allocations: 1.621 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3286, allocations: 0.5488 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.3287, allocations: 0 / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.329, allocations: 111.1 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.3293, allocations: 119.4 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.3296, allocations: 113.4 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3297, allocations: 89.05 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.851e-05/0.3298, allocations: 25.55 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.3299, allocations: 37.77 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.33, allocations: 66.31 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.33, allocations: 2.75 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.3301, allocations: 44.86 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.3302, allocations: 26.86 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.3303, allocations: 41.22 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.3305, allocations: 120.8 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3305, allocations: 5.031 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3305, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3305, allocations: 0 / 0.5335 GB, free: 11.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005238/0.331, allocations: 435.3 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3311, allocations: 14.08 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.3311, allocations: 31.5 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3312, allocations: 10.64 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3314, allocations: 207.8 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3314, allocations: 9.766 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3314, allocations: 5.75 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3316, allocations: 63.36 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3316, allocations: 3.953 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3316, allocations: 1.219 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3316, allocations: 1.406 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.3317, allocations: 22.92 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3321, allocations: 303.2 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3322, allocations: 55.2 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.3323, allocations: 14.05 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3323, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.3324, allocations: 39.77 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3324, allocations: 0 / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008935/0.3333, allocations: 248.2 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.3333, allocations: 52.41 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3336, allocations: 258.6 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3336, allocations: 27.33 kB / 0.5353 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3337, allocations: 113.6 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.3337, allocations: 31.86 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3338, allocations: 19.22 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3339, allocations: 324.3 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.334, allocations: 36.41 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.3341, allocations: 28.48 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3342, allocations: 82.16 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3342, allocations: 3.938 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000215/0.3345, allocations: 109.7 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3345, allocations: 5.5 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3345, allocations: 4.094 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3345, allocations: 5.359 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3346, allocations: 21.67 kB / 0.536 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3347, allocations: 3.938 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.3347, allocations: 12.02 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3347, allocations: 5.25 kB / 0.536 GB, free: 8.945 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.0001127/0.3348, allocations: 132.3 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.3349, allocations: 14.56 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.3352, allocations: 131.5 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3352, allocations: 1.156 kB / 0.5363 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3352, allocations: 7.875 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3352, allocations: 0 / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.3358, allocations: 438.2 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3358, allocations: 1.156 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.3359, allocations: 22.02 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3359, allocations: 1.219 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3359, allocations: 1.375 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3359, allocations: 1.344 kB / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3359, allocations: 0 / 0.5367 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3362, allocations: 221.3 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/0.3362, allocations: 88.22 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3363, allocations: 5.906 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.3364, allocations: 7.234 kB / 0.5371 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.3364, allocations: 3.625 kB / 0.5371 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3364, allocations: 6.438 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.3366, allocations: 188 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 1.156 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3368, allocations: 22.73 kB / 0.5373 GB, free: 7.871 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002111/0.3389, allocations: 1.107 MB / 0.5383 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3392, allocations: 78.81 kB / 0.5384 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3392, allocations: 1.125 kB / 0.5384 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.3393, allocations: 44.31 kB / 0.5385 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3397, allocations: 22.05 kB / 0.5385 GB, free: 6.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.3418, allocations: 1.8 MB / 0.5402 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3421, allocations: 0.7119 MB / 0.5409 GB, free: 4.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.322e-05/0.3422, allocations: 21.67 kB / 0.541 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.3423, allocations: 41.23 kB / 0.541 GB, free: 4.672 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3423, allocations: 3.938 kB / 0.541 GB, free: 4.668 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3658, allocations: 3.322 MB / 0.5442 GB, free: 2.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.24, allocations: 5.125 kB / 0.5443 GB, free: 2.863 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches