Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 122.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.00158/0.001581, allocations: 202 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.413/1.413, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 83.8 kB / 480.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.331, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002856/0.3339, allocations: 1.657 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.3348, allocations: 0.5371 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.3349, allocations: 1.375 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.3351, allocations: 98.61 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.3354, allocations: 114.5 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.3357, allocations: 95.09 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3359, allocations: 102.4 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.336, allocations: 23.36 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.306e-05/0.3361, allocations: 38.31 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.3362, allocations: 65.03 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.3362, allocations: 5.594 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.656e-05/0.3363, allocations: 50.75 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.3364, allocations: 32.75 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3365, allocations: 39.41 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.3367, allocations: 126.7 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3367, allocations: 0 / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3367, allocations: 1.406 kB / 0.5335 GB, free: 11.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3367, allocations: 3.938 kB / 0.5336 GB, free: 11.17 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000532/0.3372, allocations: 441.6 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3373, allocations: 9.844 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.3373, allocations: 32.59 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3374, allocations: 22.53 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3376, allocations: 210.7 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3376, allocations: 1.5 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3376, allocations: 12.22 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.3378, allocations: 69.52 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3378, allocations: 5.203 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3378, allocations: 4 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3379, allocations: 9.359 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.338, allocations: 46.89 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.3384, allocations: 323.8 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3385, allocations: 58.06 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.3386, allocations: 27.78 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3386, allocations: 9.375 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.3387, allocations: 35.92 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3387, allocations: 0 / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009977/0.3397, allocations: 312.9 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3397, allocations: 56.72 kB / 0.5352 GB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.34, allocations: 238.9 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.34, allocations: 31.08 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.3401, allocations: 118.9 kB / 0.5355 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3401, allocations: 37.16 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3402, allocations: 29.95 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3403, allocations: 331 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.3404, allocations: 36.59 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.3405, allocations: 36.45 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3407, allocations: 86.58 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3407, allocations: 0 / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002592/0.341, allocations: 140.8 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.341, allocations: 13.2 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.341, allocations: 0 / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.341, allocations: 5.219 kB / 0.5362 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3411, allocations: 28.55 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.3411, allocations: 1.188 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.3412, allocations: 7.188 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3412, allocations: 3.281 kB / 0.5363 GB, free: 8.789 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.0001045/0.3413, allocations: 131.4 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3414, allocations: 18.59 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.3417, allocations: 163.5 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3417, allocations: 5.125 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3417, allocations: 3.984 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3418, allocations: 1.094 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.3424, allocations: 485.9 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3424, allocations: 1 kB / 0.537 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.676e-05/0.3425, allocations: 24.27 kB / 0.5371 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3425, allocations: 1.219 kB / 0.5371 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.3425, allocations: 10.36 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.3425, allocations: 5.094 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3425, allocations: 5.156 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.3428, allocations: 242.8 kB / 0.5373 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.3429, allocations: 88.17 kB / 0.5374 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3429, allocations: 6.109 kB / 0.5374 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.343, allocations: 7.562 kB / 0.5374 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3431, allocations: 9.047 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.3431, allocations: 3.219 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.3432, allocations: 183.2 kB / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3432, allocations: 0 / 0.5376 GB, free: 7.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.3435, allocations: 25.78 kB / 0.5376 GB, free: 7.652 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.002067/0.3456, allocations: 1.126 MB / 0.5387 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3458, allocations: 97.58 kB / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3458, allocations: 0 / 0.5388 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.346, allocations: 60.25 kB / 0.5389 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3463, allocations: 24.77 kB / 0.5389 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.3485, allocations: 1.843 MB / 0.5407 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3488, allocations: 0.7184 MB / 0.5414 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.315e-05/0.3489, allocations: 20.06 kB / 0.5414 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.349, allocations: 44.08 kB / 0.5415 GB, free: 4.418 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.349, allocations: 0 / 0.5415 GB, free: 4.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.3733, allocations: 3.526 MB / 0.5449 GB, free: 2.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/8.103, allocations: 4.516 kB / 0.5449 GB, free: 2.516 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches