Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 117.8 kB / 17.79 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.001163/0.001163, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 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.2379/0.2379, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 80.09 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3604, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00349/0.364, allocations: 1.684 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3653, allocations: 0.5522 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3654, allocations: 2.312 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.3657, allocations: 45.56 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.3661, allocations: 96.12 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3666, allocations: 133.9 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3668, allocations: 82.66 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3669, allocations: 20.28 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.367, allocations: 34.31 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3671, allocations: 46.27 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3671, allocations: 8.125 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3672, allocations: 48.98 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.614e-05/0.3673, allocations: 18.8 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.3674, allocations: 42.59 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3677, allocations: 115 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3677, allocations: 1.375 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3677, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3677, allocations: 0 / 0.5334 GB, free: 11.23 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.0006339/0.3683, allocations: 415.9 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3684, allocations: 13.62 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.3685, allocations: 40.11 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3685, allocations: 12.88 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.3687, allocations: 198.2 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3688, allocations: 1.75 kB / 0.534 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.3688, allocations: 11.03 kB / 0.534 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.369, allocations: 67.42 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.369, allocations: 1.375 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.369, allocations: 0 / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3691, allocations: 5.375 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.3692, allocations: 43.33 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3697, allocations: 305.6 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.37, allocations: 55.3 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.3701, allocations: 27.97 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3701, allocations: 1.312 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3701, allocations: 35.94 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.3701, allocations: 0 / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001578/0.3717, allocations: 400.2 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3718, allocations: 53.75 kB / 0.535 GB, free: 9.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.372, allocations: 189.5 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.372, allocations: 26.98 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.3721, allocations: 104.7 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3721, allocations: 36.55 kB / 0.5353 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.3721, allocations: 24.58 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3723, allocations: 322.5 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3724, allocations: 47.88 kB / 0.5357 GB, free: 9.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3725, allocations: 39.78 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.3727, allocations: 104.4 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3727, allocations: 0 / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000288/0.373, allocations: 145.8 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3731, allocations: 5.5 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3731, allocations: 0 / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3731, allocations: 5.312 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3732, allocations: 28.59 kB / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3732, allocations: 0 / 0.536 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.843e-05/0.3733, allocations: 10.88 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.3733, allocations: 6.75 kB / 0.536 GB, free: 8.902 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.0001088/0.3734, allocations: 130 kB / 0.5362 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.3735, allocations: 9.406 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3739, allocations: 165.8 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3739, allocations: 5.312 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3739, allocations: 0.5625 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3739, allocations: 7.984 kB / 0.5364 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.3746, allocations: 480 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3747, allocations: 1.125 kB / 0.5368 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3748, allocations: 32.41 kB / 0.5368 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3748, allocations: 9.031 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3748, allocations: 2.219 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3748, allocations: 1.031 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3748, allocations: 1.094 kB / 0.5369 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.3752, allocations: 252 kB / 0.5371 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.3753, allocations: 88.83 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.3753, allocations: 5.406 kB / 0.5372 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3754, allocations: 14.7 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.3754, allocations: 12.77 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.3755, allocations: 6.656 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3756, allocations: 141.2 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3756, allocations: 0 / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.3759, allocations: 29.44 kB / 0.5374 GB, free: 7.758 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.001591/0.3775, allocations: 1.13 MB / 0.5385 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.3778, allocations: 110 kB / 0.5386 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3778, allocations: 0.5938 kB / 0.5386 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.378, allocations: 58.75 kB / 0.5386 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.3784, allocations: 20.67 kB / 0.5387 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.3806, allocations: 1.798 MB / 0.5404 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.381, allocations: 0.7156 MB / 0.5411 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.303e-05/0.3811, allocations: 18.31 kB / 0.5411 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.3812, allocations: 43.64 kB / 0.5412 GB, free: 4.523 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3812, allocations: 0 / 0.5412 GB, free: 4.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.401, allocations: 3.334 MB / 0.5444 GB, free: 2.703 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.527/7.928, allocations: 15.33 kB / 0.5444 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches