Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001123/0.001128, allocations: 118.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3394, allocations: 62.44 MB / 0.5305 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003021/0.3425, allocations: 1.685 MB / 0.5322 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3435, allocations: 0.575 MB / 0.5327 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3436, allocations: 5.312 kB / 0.5328 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.3439, allocations: 64.55 kB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.3442, allocations: 98.39 kB / 0.5329 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.3447, allocations: 172.8 kB / 0.5331 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.3449, allocations: 93.97 kB / 0.5332 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.345, allocations: 19.81 kB / 0.5332 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.774e-05/0.3451, allocations: 39.91 kB / 0.5332 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3452, allocations: 49.7 kB / 0.5333 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.3452, allocations: 4.375 kB / 0.5333 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3454, allocations: 52.77 kB / 0.5333 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.3454, allocations: 33.11 kB / 0.5334 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.3455, allocations: 34.78 kB / 0.5334 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3457, allocations: 119.5 kB / 0.5335 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3457, allocations: 0 / 0.5335 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3457, allocations: 0 / 0.5335 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3458, allocations: 1.188 kB / 0.5335 GB, free: 11.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006066/0.3464, allocations: 421.5 kB / 0.5339 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3464, allocations: 10.12 kB / 0.5339 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3465, allocations: 42.69 kB / 0.534 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.3465, allocations: 10.59 kB / 0.534 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.3468, allocations: 218.1 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3468, allocations: 4.375 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.3469, allocations: 4.281 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3471, allocations: 64.27 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3471, allocations: 1.312 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3471, allocations: 4 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3472, allocations: 5.484 kB / 0.5343 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.3473, allocations: 48.58 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.3478, allocations: 325.3 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3481, allocations: 60.39 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.3482, allocations: 34.72 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3483, allocations: 1.375 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.3483, allocations: 30.56 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.3483, allocations: 1.375 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.3499, allocations: 429 kB / 0.5351 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.3499, allocations: 54.16 kB / 0.5352 GB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.3501, allocations: 195.9 kB / 0.5354 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3502, allocations: 29.7 kB / 0.5354 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.3502, allocations: 106.4 kB / 0.5355 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.3503, allocations: 39.75 kB / 0.5355 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3503, allocations: 30.16 kB / 0.5356 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3505, allocations: 326 kB / 0.5359 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3506, allocations: 61.05 kB / 0.5359 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.3508, allocations: 53.52 kB / 0.536 GB, free: 9.168 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.3511, allocations: 127.8 kB / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3511, allocations: 0 / 0.5361 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003599/0.3515, allocations: 165.3 kB / 0.5363 GB, free: 9.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3515, allocations: 9.609 kB / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3515, allocations: 0 / 0.5363 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3515, allocations: 5.062 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3516, allocations: 28.05 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3517, allocations: 1.219 kB / 0.5363 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.3517, allocations: 10.27 kB / 0.5363 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3518, allocations: 6.219 kB / 0.5363 GB, free: 8.984 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 (11): * Single equations (assignments): 11 * 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.0001084/0.3519, allocations: 129.1 kB / 0.5365 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.3519, allocations: 13.56 kB / 0.5365 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.3524, allocations: 199.3 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3524, allocations: 4.594 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3524, allocations: 1.188 kB / 0.5367 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3524, allocations: 4 kB / 0.5367 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.3532, allocations: 0.4948 MB / 0.5372 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3532, allocations: 3.938 kB / 0.5372 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3533, allocations: 25.8 kB / 0.5372 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3533, allocations: 5.969 kB / 0.5372 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3534, allocations: 6.094 kB / 0.5372 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3534, allocations: 4 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.3534, allocations: 1.5 kB / 0.5372 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.3538, allocations: 280.3 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3539, allocations: 93.56 kB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3539, allocations: 1.188 kB / 0.5376 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.354, allocations: 14.77 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.354, allocations: 4.75 kB / 0.5376 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3541, allocations: 6.703 kB / 0.5376 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3542, allocations: 152.5 kB / 0.5377 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3542, allocations: 3.938 kB / 0.5377 GB, free: 7.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3545, allocations: 34.42 kB / 0.5378 GB, free: 7.785 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001732/0.3562, allocations: 1.151 MB / 0.5389 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.3566, allocations: 133.6 kB / 0.539 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3567, allocations: 0 / 0.539 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.3568, allocations: 67.39 kB / 0.5391 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3572, allocations: 26.64 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3599, allocations: 1.919 MB / 0.541 GB, free: 5.223 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3602, allocations: 0.72 MB / 0.5417 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3603, allocations: 31.33 kB / 0.5417 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.3604, allocations: 44.48 kB / 0.5418 GB, free: 4.457 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3604, allocations: 0 / 0.5418 GB, free: 4.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3814, allocations: 3.529 MB / 0.5452 GB, free: 2.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/7.968, allocations: 22.62 kB / 0.5452 GB, free: 2.531 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches