Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, 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.001887/0.001887, 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.428/1.428, 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.2136/0.2136, allocations: 46.12 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 79.86 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3234, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002889/0.3263, allocations: 1.621 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3273, allocations: 0.5483 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.3274, allocations: 1.75 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3277, allocations: 106.2 kB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.328, allocations: 118.7 kB / 0.533 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.3283, allocations: 118.8 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3285, allocations: 87.77 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3286, allocations: 17.95 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.3287, allocations: 38.2 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3288, allocations: 69.69 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3288, allocations: 6.688 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.3289, allocations: 48.86 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.329, allocations: 22.92 kB / 0.5334 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.3291, allocations: 41.17 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.3293, allocations: 117.8 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3293, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3293, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3293, allocations: 1.375 kB / 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.0005342/0.3298, allocations: 438 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3299, allocations: 9.625 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.33, allocations: 40.11 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.33, allocations: 10.39 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3302, allocations: 207.5 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3302, allocations: 5.75 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3303, allocations: 3.125 kB / 0.5342 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.3304, allocations: 63.34 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3304, allocations: 3.953 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3305, allocations: 0 / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3305, allocations: 1.375 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3306, allocations: 32.42 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.331, allocations: 301.8 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.3311, allocations: 48.42 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.3312, allocations: 17.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3312, allocations: 3.984 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3313, allocations: 44.02 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3313, allocations: 0 / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008925/0.3322, allocations: 239.6 kB / 0.5349 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3322, allocations: 56.88 kB / 0.535 GB, free: 9.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3325, allocations: 259.2 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3325, allocations: 25.7 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.3326, allocations: 111.1 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3326, allocations: 35.05 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3327, allocations: 20.31 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3328, allocations: 323.1 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.3329, allocations: 35.75 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.998e-05/0.333, allocations: 32.8 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.3332, allocations: 82.38 kB / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3332, allocations: 0 / 0.5359 GB, free: 9.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002256/0.3334, allocations: 109.8 kB / 0.536 GB, free: 8.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3335, allocations: 11.59 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3335, allocations: 0 / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3335, allocations: 1.125 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.397e-05/0.3336, allocations: 25.11 kB / 0.536 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3336, allocations: 5.031 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.3337, allocations: 7.484 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3337, allocations: 6.406 kB / 0.536 GB, free: 8.941 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.0001081/0.3338, allocations: 131.5 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.3338, allocations: 17.66 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3341, allocations: 135.7 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3341, allocations: 1 kB / 0.5363 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3342, allocations: 5.344 kB / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3342, allocations: 0 / 0.5363 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/0.3347, allocations: 430.5 kB / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3347, allocations: 0 / 0.5367 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.3348, allocations: 26.33 kB / 0.5367 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3348, allocations: 5.406 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.3348, allocations: 1.219 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3348, allocations: 1.281 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3348, allocations: 0 / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.3351, allocations: 213.5 kB / 0.537 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.3352, allocations: 88.66 kB / 0.537 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.3352, allocations: 5.438 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.3353, allocations: 11.95 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.3353, allocations: 2.656 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3353, allocations: 2.5 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3355, allocations: 188.7 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3355, allocations: 3.938 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3358, allocations: 19.31 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.002101/0.3379, allocations: 1.114 MB / 0.5383 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3381, allocations: 71.39 kB / 0.5384 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.3381, allocations: 4 kB / 0.5384 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.3382, allocations: 40.5 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.00034/0.3386, allocations: 23.14 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.002038/0.3406, allocations: 1.803 MB / 0.5402 GB, free: 5.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.341, allocations: 0.7125 MB / 0.5409 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.085e-05/0.3411, allocations: 23.98 kB / 0.541 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.3411, allocations: 41.45 kB / 0.541 GB, free: 4.664 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3411, allocations: 0 / 0.541 GB, free: 4.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3652, allocations: 3.322 MB / 0.5442 GB, free: 2.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.001, allocations: 4.938 kB / 0.5442 GB, free: 2.859 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches