Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001752, allocations: 118.8 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.002025/0.002025, allocations: 198 kB / 18.73 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.429/1.429, 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.2184/0.2184, allocations: 46.11 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 79.88 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3384, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002998/0.3414, allocations: 1.653 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.3424, allocations: 0.5404 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.3424, allocations: 1.188 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.3427, allocations: 102.5 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.343, allocations: 111.2 kB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3433, allocations: 91.2 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.3435, allocations: 106.7 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3436, allocations: 23.61 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.591e-05/0.3437, allocations: 46.14 kB / 0.5333 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3438, allocations: 60.72 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.3438, allocations: 5.188 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-05/0.3439, allocations: 42.7 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.344, allocations: 33.3 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.344, allocations: 51.3 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3443, allocations: 126.2 kB / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3443, allocations: 0 / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3443, allocations: 0 / 0.5336 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3443, allocations: 1.375 kB / 0.5336 GB, free: 11.2 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.0005295/0.3448, allocations: 429 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3449, allocations: 9.625 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.3449, allocations: 40.11 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.3449, allocations: 15.72 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.3452, allocations: 217.8 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3452, allocations: 7.125 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3452, allocations: 3.125 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3454, allocations: 74.17 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.3454, allocations: 11.92 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.3454, allocations: 1.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3454, allocations: 1.375 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.3456, allocations: 45.84 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.346, allocations: 328.6 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3461, allocations: 62.05 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.3462, allocations: 27.78 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3462, allocations: 1.375 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.3462, allocations: 31.94 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.3462, allocations: 4 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.3473, allocations: 312.5 kB / 0.5351 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3473, allocations: 52.83 kB / 0.5352 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.3476, allocations: 250.8 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3476, allocations: 26.73 kB / 0.5354 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.3477, allocations: 119.2 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.3477, allocations: 44.59 kB / 0.5356 GB, free: 9.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.3478, allocations: 26.75 kB / 0.5356 GB, free: 9.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3479, allocations: 322.9 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.348, allocations: 40.5 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.3481, allocations: 40.17 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3483, allocations: 93.06 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3483, allocations: 1.094 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002589/0.3486, allocations: 138.1 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3486, allocations: 5.812 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3486, allocations: 0 / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3487, allocations: 5.094 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.3488, allocations: 33.11 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3488, allocations: 1.094 kB / 0.5363 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.3488, allocations: 7.312 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3489, allocations: 7.484 kB / 0.5363 GB, free: 8.812 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.0001043/0.349, allocations: 130.4 kB / 0.5364 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.349, allocations: 18.55 kB / 0.5364 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.3494, allocations: 163.6 kB / 0.5366 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3494, allocations: 5.375 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3494, allocations: 0 / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3494, allocations: 1.281 kB / 0.5366 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.35, allocations: 478.2 kB / 0.537 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.35, allocations: 3.984 kB / 0.537 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.3501, allocations: 25.14 kB / 0.5371 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3501, allocations: 1.531 kB / 0.5371 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3501, allocations: 5.5 kB / 0.5371 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3501, allocations: 5.406 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3502, allocations: 0 / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3505, allocations: 243.2 kB / 0.5373 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3505, allocations: 92.59 kB / 0.5374 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.3505, allocations: 9.969 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.3506, allocations: 3.219 kB / 0.5374 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.3507, allocations: 13.86 kB / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.3507, allocations: 2.594 kB / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.3509, allocations: 178.8 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3509, allocations: 1.25 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3511, allocations: 25.38 kB / 0.5376 GB, free: 7.688 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.002117/0.3532, allocations: 1.125 MB / 0.5387 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.3535, allocations: 103.9 kB / 0.5388 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3535, allocations: 1.156 kB / 0.5388 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.3536, allocations: 51.56 kB / 0.5389 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.354, allocations: 27.47 kB / 0.5389 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.3561, allocations: 1.853 MB / 0.5407 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3565, allocations: 0.7137 MB / 0.5414 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.3565, allocations: 23.06 kB / 0.5414 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.3566, allocations: 44.39 kB / 0.5415 GB, free: 4.449 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3566, allocations: 0 / 0.5415 GB, free: 4.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.3801, allocations: 3.524 MB / 0.5449 GB, free: 2.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.211, allocations: 5.734 kB / 0.5449 GB, free: 2.547 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches