Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 117.6 kB / 17.79 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.001322/0.001323, allocations: 199.9 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.388/1.388, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2325/0.2325, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 83.84 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002971/0.3369, allocations: 1.648 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.3379, allocations: 0.557 MB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.338, allocations: 1.562 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.3382, allocations: 32.64 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.3385, allocations: 81.88 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3388, allocations: 127.3 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.339, allocations: 80.64 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3391, allocations: 25.52 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.3392, allocations: 49.23 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.033e-05/0.3393, allocations: 34.11 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3393, allocations: 3.125 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.3394, allocations: 51.22 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.3395, allocations: 18.8 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.65e-05/0.3395, allocations: 38.61 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.3397, allocations: 113.7 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3397, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.506e-06/0.3397, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3397, allocations: 3.938 kB / 0.5334 GB, free: 11.22 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005348/0.3403, allocations: 415.7 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3403, allocations: 9.625 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.3404, allocations: 37.5 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3404, allocations: 12.97 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3406, allocations: 200.6 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3407, allocations: 5.734 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.3407, allocations: 12.44 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3409, allocations: 79.59 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3409, allocations: 1.375 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3409, allocations: 4 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3409, allocations: 1.375 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.341, allocations: 44.7 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.3415, allocations: 335.2 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3416, allocations: 68.73 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.3417, allocations: 27.84 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3417, allocations: 5.516 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.3418, allocations: 31.94 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3418, allocations: 0 / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001043/0.3428, allocations: 335.5 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3429, allocations: 57.42 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.343, allocations: 154.3 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3431, allocations: 31.14 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.3431, allocations: 101 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.3432, allocations: 47.53 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.3432, allocations: 32.2 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3434, allocations: 325.4 kB / 0.5357 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3435, allocations: 44.25 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.3436, allocations: 44.97 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.3438, allocations: 114.3 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3438, allocations: 0 / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002862/0.3441, allocations: 161.4 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3441, allocations: 5.75 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3442, allocations: 4 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3442, allocations: 1.156 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3443, allocations: 28.44 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3443, allocations: 1.156 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.3444, allocations: 3.438 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3444, allocations: 3.094 kB / 0.5361 GB, free: 8.879 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 (13): * Single equations (assignments): 13 * 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.0001078/0.3445, allocations: 134.2 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3445, allocations: 13.14 kB / 0.5362 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.3449, allocations: 181.8 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3449, allocations: 1.25 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3449, allocations: 0 / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3449, allocations: 1.156 kB / 0.5364 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.3456, allocations: 0.4903 MB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3456, allocations: 1.344 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.821e-05/0.3457, allocations: 23.73 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.3457, allocations: 1.406 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3457, allocations: 2.156 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3457, allocations: 1 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3457, allocations: 1.156 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3461, allocations: 260.7 kB / 0.5372 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.3461, allocations: 84.38 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3462, allocations: 5.125 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.3462, allocations: 4.344 kB / 0.5373 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3463, allocations: 12.23 kB / 0.5373 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3463, allocations: 12.19 kB / 0.5373 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.3464, allocations: 130.6 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3464, allocations: 0 / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3467, allocations: 31.11 kB / 0.5374 GB, free: 7.75 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 (13): * Single equations (assignments): 13 * 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.002105/0.3488, allocations: 1.136 MB / 0.5386 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002776/0.3491, allocations: 109.4 kB / 0.5387 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3491, allocations: 5.031 kB / 0.5387 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3492, allocations: 59.31 kB / 0.5387 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3496, allocations: 27.66 kB / 0.5387 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3516, allocations: 1.751 MB / 0.5405 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.3519, allocations: 0.7097 MB / 0.5411 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.352, allocations: 29.52 kB / 0.5412 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.352, allocations: 39.61 kB / 0.5412 GB, free: 4.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.352, allocations: 0 / 0.5412 GB, free: 4.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.3748, allocations: 3.26 MB / 0.5444 GB, free: 2.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.044, allocations: 10.05 kB / 0.5444 GB, free: 2.75 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches