Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001231, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2354/0.2354, allocations: 46.12 MB / 344.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 79.88 kB / 480.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3258, allocations: 62.45 MB / 0.5307 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003076/0.329, allocations: 1.678 MB / 0.5323 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.33, allocations: 0.5612 MB / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.3301, allocations: 0 / 0.5328 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005497/0.3307, allocations: 449.4 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004715/0.3312, allocations: 291.7 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.3315, allocations: 135 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.3318, allocations: 171.8 kB / 0.5338 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3319, allocations: 21.61 kB / 0.5339 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3321, allocations: 114.2 kB / 0.534 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.3323, allocations: 215.3 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3323, allocations: 3.188 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3325, allocations: 48.98 kB / 0.5342 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3326, allocations: 85.39 kB / 0.5343 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.3327, allocations: 111.9 kB / 0.5344 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.3331, allocations: 280 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3331, allocations: 0 / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3331, allocations: 0 / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3331, allocations: 0 / 0.5347 GB, free: 10.61 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.000807/0.3339, allocations: 0.6725 MB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.334, allocations: 10.53 kB / 0.5353 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.106e-05/0.334, allocations: 36.09 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.3341, allocations: 47.44 kB / 0.5354 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3344, allocations: 312.3 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3344, allocations: 1.438 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3345, allocations: 6.938 kB / 0.5357 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3346, allocations: 68.09 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3346, allocations: 1.312 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3347, allocations: 0 / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3347, allocations: 0.9062 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3348, allocations: 29.36 kB / 0.5358 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.3353, allocations: 407.7 kB / 0.5362 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3354, allocations: 39.12 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.3355, allocations: 16.08 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3355, allocations: 1.094 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3356, allocations: 35.7 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3356, allocations: 4 kB / 0.5363 GB, free: 9.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009734/0.3365, allocations: 316.9 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3366, allocations: 60.69 kB / 0.5367 GB, free: 8.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.3376, allocations: 0.8694 MB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3376, allocations: 29.7 kB / 0.5375 GB, free: 8.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3378, allocations: 221.9 kB / 0.5378 GB, free: 8.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.3378, allocations: 30.86 kB / 0.5378 GB, free: 8.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3379, allocations: 20.34 kB / 0.5378 GB, free: 8.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3381, allocations: 364.4 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.3381, allocations: 26.48 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.3382, allocations: 22.11 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3384, allocations: 64.92 kB / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3384, allocations: 0 / 0.5383 GB, free: 7.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002548/0.3387, allocations: 143.6 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3387, allocations: 5.125 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3387, allocations: 0 / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3387, allocations: 0.875 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3388, allocations: 25.55 kB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3388, allocations: 1 kB / 0.5384 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.002e-05/0.3389, allocations: 8.094 kB / 0.5384 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3389, allocations: 6.219 kB / 0.5384 GB, free: 7.605 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.000205/0.3391, allocations: 214 kB / 0.5386 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.3392, allocations: 50.39 kB / 0.5387 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/0.3395, allocations: 164.5 kB / 0.5389 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3396, allocations: 9.062 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3396, allocations: 1.594 kB / 0.5389 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3396, allocations: 3.984 kB / 0.5389 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.3403, allocations: 0.4955 MB / 0.5393 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3403, allocations: 3.984 kB / 0.5394 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.3404, allocations: 18.78 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3404, allocations: 1.031 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.3404, allocations: 9.078 kB / 0.5394 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3404, allocations: 1.062 kB / 0.5394 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3404, allocations: 1.188 kB / 0.5394 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.3407, allocations: 243 kB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.3408, allocations: 115 kB / 0.5397 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.3408, allocations: 1.219 kB / 0.5397 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.3409, allocations: 12.36 kB / 0.5397 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.341, allocations: 6.734 kB / 0.5397 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.341, allocations: 2.75 kB / 0.5397 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006798/0.3417, allocations: 0.659 MB / 0.5404 GB, free: 6.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3417, allocations: 1.156 kB / 0.5404 GB, free: 6.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000272/0.342, allocations: 30 kB / 0.5404 GB, free: 6.195 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.002177/0.3442, allocations: 1.143 MB / 0.5415 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.3444, allocations: 62.45 kB / 0.5416 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3444, allocations: 5.094 kB / 0.5416 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.3445, allocations: 34.3 kB / 0.5416 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.345, allocations: 25.42 kB / 0.5417 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.349, allocations: 3.343 MB / 0.5449 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.3495, allocations: 0.8221 MB / 0.5457 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.888e-05/0.3496, allocations: 24.7 kB / 0.5457 GB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3497, allocations: 111.4 kB / 0.5459 GB, free: 1.742 MB / 398.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3497, allocations: 0 / 0.5459 GB, free: 1.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3789, allocations: 6.365 MB / 0.5521 GB, free: 11.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.191/8.57, allocations: 17.98 kB / 0.5521 GB, free: 11.44 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches