Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001378/0.001378, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2416/0.2416, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 80.09 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3326, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003081/0.3357, allocations: 1.685 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3368, allocations: 0.5803 MB / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.3369, allocations: 0 / 0.5329 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3371, allocations: 49.17 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.3374, allocations: 91.23 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.3378, allocations: 180.8 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.338, allocations: 91.5 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3381, allocations: 23.16 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.3382, allocations: 38.36 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.3383, allocations: 41.25 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3383, allocations: 3.594 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3384, allocations: 49.03 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.3385, allocations: 29.14 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.3385, allocations: 30.25 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.3387, allocations: 127.2 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3388, allocations: 0 / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3388, allocations: 0 / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3388, allocations: 0 / 0.5336 GB, free: 11.14 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.0005664/0.3393, allocations: 428.5 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3394, allocations: 9.125 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3394, allocations: 33.06 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3395, allocations: 13.19 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3397, allocations: 212.3 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3397, allocations: 2.562 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.3397, allocations: 2.719 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3399, allocations: 77.44 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.34, allocations: 0 / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.34, allocations: 9.422 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.34, allocations: 1.438 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.3401, allocations: 40.56 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.3406, allocations: 323.9 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3409, allocations: 60.58 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.512e-05/0.341, allocations: 34.59 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.341, allocations: 1 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.341, allocations: 35.28 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3411, allocations: 0 / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001539/0.3426, allocations: 430.4 kB / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.3427, allocations: 52.78 kB / 0.5353 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3428, allocations: 182.5 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3429, allocations: 27.08 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3429, allocations: 105.6 kB / 0.5356 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.343, allocations: 47.77 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.3431, allocations: 25.95 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3432, allocations: 323 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3434, allocations: 52.84 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3435, allocations: 52.36 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3438, allocations: 135.8 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3438, allocations: 1.062 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000364/0.3442, allocations: 168.1 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3442, allocations: 4.969 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3442, allocations: 0.9375 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3443, allocations: 4.938 kB / 0.5364 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3444, allocations: 32.16 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3444, allocations: 0.8125 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.3445, allocations: 6.312 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3445, allocations: 2.812 kB / 0.5364 GB, free: 8.734 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.0001288/0.3446, allocations: 131.8 kB / 0.5365 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.3447, allocations: 17.09 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.3451, allocations: 189.8 kB / 0.5367 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3452, allocations: 6 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3452, allocations: 0.5625 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3452, allocations: 1.188 kB / 0.5367 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007787/0.346, allocations: 0.5007 MB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.346, allocations: 1 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3461, allocations: 32.33 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3461, allocations: 1.188 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3461, allocations: 2.281 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.3461, allocations: 5.047 kB / 0.5373 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3462, allocations: 1.25 kB / 0.5373 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3466, allocations: 277.2 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.3467, allocations: 88.61 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.3467, allocations: 0.9688 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3468, allocations: 14.73 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.3469, allocations: 17.02 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.3469, allocations: 3.156 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.347, allocations: 149.7 kB / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.347, allocations: 0 / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3473, allocations: 26.59 kB / 0.5378 GB, free: 7.551 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.002338/0.3497, allocations: 1.156 MB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003638/0.35, allocations: 135.9 kB / 0.5391 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.35, allocations: 0 / 0.5391 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3502, allocations: 71.2 kB / 0.5391 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3506, allocations: 19.67 kB / 0.5391 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.3533, allocations: 1.907 MB / 0.541 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3537, allocations: 0.7151 MB / 0.5417 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.712e-05/0.3538, allocations: 31.25 kB / 0.5417 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.3539, allocations: 36.42 kB / 0.5418 GB, free: 4.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3539, allocations: 0 / 0.5418 GB, free: 4.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.3788, allocations: 3.447 MB / 0.5451 GB, free: 2.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.58, allocations: 10.33 kB / 0.5451 GB, free: 2.34 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches