Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001465/0.001465, allocations: 121.6 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.001734/0.001734, allocations: 200.7 kB / 18.74 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.471/1.471, 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.2398/0.2398, allocations: 46.11 MB / 344.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 84.14 kB / 480.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003562/0.3475, allocations: 1.68 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3486, allocations: 0.5807 MB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.3487, allocations: 0 / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.3489, allocations: 56.48 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.3492, allocations: 96.59 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004832/0.3497, allocations: 188.3 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.35, allocations: 90.97 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3501, allocations: 19.33 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.3502, allocations: 42.2 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3503, allocations: 46.61 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3503, allocations: 3.344 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3505, allocations: 48.81 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.3505, allocations: 26.8 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.3506, allocations: 37.75 kB / 0.5335 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3509, allocations: 125.2 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3509, allocations: 0 / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3509, allocations: 4 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3509, allocations: 1.031 kB / 0.5336 GB, free: 11.11 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.0006661/0.3516, allocations: 436.8 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3516, allocations: 9.875 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.3517, allocations: 35.91 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3517, allocations: 10.39 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.352, allocations: 218.5 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.352, allocations: 1.594 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.352, allocations: 10.75 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3522, allocations: 70.19 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3522, allocations: 0 / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3522, allocations: 1.375 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3523, allocations: 0 / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.3524, allocations: 52.94 kB / 0.5344 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.353, allocations: 326.5 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3532, allocations: 56.14 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.3533, allocations: 29.81 kB / 0.5348 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3533, allocations: 5.359 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3534, allocations: 39.92 kB / 0.5349 GB, free: 9.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3534, allocations: 4 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001534/0.3549, allocations: 429.7 kB / 0.5353 GB, free: 9.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.355, allocations: 52.78 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3552, allocations: 199.3 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3553, allocations: 29.7 kB / 0.5355 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.3553, allocations: 110.1 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.3554, allocations: 36.08 kB / 0.5357 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.3555, allocations: 26.64 kB / 0.5357 GB, free: 9.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3556, allocations: 323.3 kB / 0.536 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3558, allocations: 56.14 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.356, allocations: 57.14 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.3563, allocations: 127.8 kB / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3563, allocations: 0 / 0.5362 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003917/0.3567, allocations: 164.8 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3567, allocations: 5.688 kB / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3567, allocations: 0 / 0.5364 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3568, allocations: 9.062 kB / 0.5364 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.3569, allocations: 32.16 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3569, allocations: 1.156 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.357, allocations: 9.703 kB / 0.5365 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.357, allocations: 7.5 kB / 0.5365 GB, free: 8.672 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.0001386/0.3572, allocations: 133.1 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.3572, allocations: 13.53 kB / 0.5366 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004789/0.3577, allocations: 195.3 kB / 0.5368 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.3577, allocations: 5.062 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3577, allocations: 1.75 kB / 0.5368 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3577, allocations: 7.922 kB / 0.5368 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.3585, allocations: 0.4952 MB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3586, allocations: 1.156 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3587, allocations: 39.81 kB / 0.5373 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3587, allocations: 2.062 kB / 0.5373 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3587, allocations: 1.188 kB / 0.5373 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3587, allocations: 1.281 kB / 0.5373 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3587, allocations: 1.188 kB / 0.5373 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.3592, allocations: 285.8 kB / 0.5376 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.3593, allocations: 93.06 kB / 0.5377 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3593, allocations: 4.938 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.3594, allocations: 15.8 kB / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3595, allocations: 4 kB / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3595, allocations: 7.688 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3596, allocations: 153.3 kB / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3596, allocations: 0 / 0.5379 GB, free: 7.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3599, allocations: 30.8 kB / 0.5379 GB, free: 7.469 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.002424/0.3624, allocations: 1.157 MB / 0.539 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003886/0.3628, allocations: 129.2 kB / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3628, allocations: 0 / 0.5392 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.363, allocations: 75.27 kB / 0.5392 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.3634, allocations: 26.28 kB / 0.5392 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.3662, allocations: 1.926 MB / 0.5411 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3666, allocations: 0.7165 MB / 0.5418 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.3667, allocations: 39.64 kB / 0.5419 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.3668, allocations: 43.7 kB / 0.5419 GB, free: 4.125 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3668, allocations: 0 / 0.5419 GB, free: 4.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0255/0.3923, allocations: 3.539 MB / 0.5454 GB, free: 2.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.606, allocations: 6.125 kB / 0.5454 GB, free: 2.211 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches