Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00111/0.00111, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002934/0.3366, allocations: 1.588 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00099/0.3376, allocations: 0.5459 MB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.3376, allocations: 1.219 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.3379, allocations: 29.55 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.3382, allocations: 77.17 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3385, allocations: 109.6 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.3386, allocations: 65.95 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.804e-05/0.3387, allocations: 10.88 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.132e-05/0.3388, allocations: 28.11 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.3389, allocations: 26.72 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.3389, allocations: 2.75 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.339, allocations: 32.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.339, allocations: 13.44 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.011e-05/0.3391, allocations: 27.92 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.3392, allocations: 84.19 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3393, allocations: 1.375 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3393, allocations: 0 / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3393, allocations: 0 / 0.5332 GB, free: 11.38 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.0004615/0.3397, allocations: 392.9 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3398, allocations: 9.625 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.3398, allocations: 36.06 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.3399, allocations: 16.95 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3401, allocations: 192.1 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3401, allocations: 5.75 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3401, allocations: 1.75 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.3402, allocations: 56.36 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3403, allocations: 3.984 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3403, allocations: 5.344 kB / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3403, allocations: 0 / 0.5339 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.942e-05/0.3404, allocations: 26.33 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.3408, allocations: 292.4 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.341, allocations: 44.94 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.3411, allocations: 24 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.3411, allocations: 0 / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3411, allocations: 31.94 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3411, allocations: 0 / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005637/0.3417, allocations: 151.7 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3418, allocations: 56.72 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3419, allocations: 161.9 kB / 0.5347 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.342, allocations: 26.8 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.342, allocations: 99.41 kB / 0.5348 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.3421, allocations: 18.05 kB / 0.5348 GB, free: 9.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.3421, allocations: 18.16 kB / 0.5348 GB, free: 9.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3422, allocations: 322.1 kB / 0.5351 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.3423, allocations: 19.67 kB / 0.5351 GB, free: 9.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.3424, allocations: 24.33 kB / 0.5352 GB, free: 9.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3425, allocations: 55.5 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3426, allocations: 0 / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.3427, allocations: 83.69 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3428, allocations: 6.875 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3428, allocations: 1.031 kB / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3428, allocations: 0 / 0.5353 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.3429, allocations: 22.3 kB / 0.5353 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3429, allocations: 3.938 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.3429, allocations: 7.453 kB / 0.5353 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3429, allocations: 5.062 kB / 0.5353 GB, free: 9.32 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 8.974e-05/0.343, allocations: 116.8 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3431, allocations: 7.172 kB / 0.5355 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.3433, allocations: 109.8 kB / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3434, allocations: 320 / 0.5356 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3434, allocations: 5.188 kB / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3434, allocations: 0 / 0.5356 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.3438, allocations: 356.6 kB / 0.5359 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3438, allocations: 3.938 kB / 0.5359 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.3439, allocations: 14.17 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3439, allocations: 3.938 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.3439, allocations: 5.094 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3439, allocations: 1.719 kB / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3439, allocations: 0 / 0.5359 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.3442, allocations: 181.9 kB / 0.5361 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.3442, allocations: 83.81 kB / 0.5362 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3442, allocations: 5.312 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.3443, allocations: 6.734 kB / 0.5362 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.3443, allocations: 5.375 kB / 0.5362 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3444, allocations: 5.375 kB / 0.5362 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.3445, allocations: 127.7 kB / 0.5363 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.894e-06/0.3445, allocations: 0 / 0.5363 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3447, allocations: 22.88 kB / 0.5364 GB, free: 8.363 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.001816/0.3465, allocations: 1.021 MB / 0.5373 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3467, allocations: 55.59 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3467, allocations: 0 / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.3468, allocations: 24.58 kB / 0.5374 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3472, allocations: 18.11 kB / 0.5374 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3489, allocations: 1.49 MB / 0.5389 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.3492, allocations: 0.7007 MB / 0.5396 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.3492, allocations: 11.59 kB / 0.5396 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.3493, allocations: 27.95 kB / 0.5396 GB, free: 5.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3493, allocations: 1.125 kB / 0.5396 GB, free: 5.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.3722, allocations: 2.622 MB / 0.5422 GB, free: 3.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.04, allocations: 7.016 kB / 0.5422 GB, free: 3.922 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches