Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001185/0.001185, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 202 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.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 83.81 kB / 480.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3557, allocations: 62.42 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003163/0.3589, allocations: 1.677 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3599, allocations: 0.5555 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.983e-05/0.36, allocations: 0.9688 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3603, allocations: 49.66 kB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000329/0.3606, allocations: 94 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.3611, allocations: 134.8 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3612, allocations: 73.61 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3614, allocations: 21.36 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.3614, allocations: 41.11 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.3616, allocations: 44.33 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3616, allocations: 4.875 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3617, allocations: 51.98 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.3618, allocations: 20.45 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.546e-05/0.3618, allocations: 37.52 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.3621, allocations: 115.9 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3621, allocations: 3.938 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3621, allocations: 1.531 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3621, allocations: 0 / 0.5334 GB, free: 11.25 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.0005648/0.3627, allocations: 418.3 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3627, allocations: 10.06 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.3628, allocations: 40.02 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.3628, allocations: 14.16 kB / 0.5338 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.363, allocations: 194.3 kB / 0.534 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.363, allocations: 10.16 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.3631, allocations: 6.531 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3632, allocations: 68.14 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3633, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3633, allocations: 0 / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3633, allocations: 1.531 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3634, allocations: 43.27 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.3638, allocations: 305.6 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.3641, allocations: 55.3 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.632e-05/0.3642, allocations: 23.97 kB / 0.5345 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3642, allocations: 5.359 kB / 0.5345 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3642, allocations: 39.94 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3642, allocations: 0 / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00144/0.3657, allocations: 401.9 kB / 0.5349 GB, free: 9.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3657, allocations: 56.72 kB / 0.535 GB, free: 9.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3659, allocations: 181.1 kB / 0.5352 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.366, allocations: 31.08 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.366, allocations: 113.5 kB / 0.5353 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.3661, allocations: 31.67 kB / 0.5353 GB, free: 9.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.3661, allocations: 24.58 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3663, allocations: 323 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.3664, allocations: 42.59 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3665, allocations: 45.5 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3668, allocations: 95.61 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3668, allocations: 3.938 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003208/0.3671, allocations: 154.6 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3672, allocations: 4.375 kB / 0.536 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3672, allocations: 5.125 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3672, allocations: 3.938 kB / 0.536 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3673, allocations: 28.52 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3673, allocations: 1.156 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.3674, allocations: 9.734 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3674, allocations: 3.375 kB / 0.536 GB, free: 8.918 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.000102/0.3675, allocations: 129.6 kB / 0.5362 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.3676, allocations: 13.38 kB / 0.5362 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.368, allocations: 158.3 kB / 0.5363 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.368, allocations: 5.25 kB / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.368, allocations: 0 / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.368, allocations: 1.188 kB / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006587/0.3687, allocations: 483.1 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3687, allocations: 1.438 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.3688, allocations: 24.3 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.3688, allocations: 5.422 kB / 0.5368 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3688, allocations: 5.375 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3688, allocations: 9.188 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3688, allocations: 1.156 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.3692, allocations: 247.1 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3693, allocations: 94.42 kB / 0.5372 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3693, allocations: 3.938 kB / 0.5372 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.3694, allocations: 14.64 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.3695, allocations: 13.36 kB / 0.5372 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.3695, allocations: 7.469 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.3696, allocations: 139.5 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3696, allocations: 0 / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3699, allocations: 26 kB / 0.5374 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.001553/0.3714, allocations: 1.126 MB / 0.5385 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.3718, allocations: 106.1 kB / 0.5386 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3718, allocations: 5.344 kB / 0.5386 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.372, allocations: 70.7 kB / 0.5386 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3723, allocations: 21.23 kB / 0.5387 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3746, allocations: 1.795 MB / 0.5404 GB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3749, allocations: 0.7115 MB / 0.5411 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.375, allocations: 25.67 kB / 0.5411 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.375, allocations: 36.08 kB / 0.5412 GB, free: 4.547 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.375, allocations: 0 / 0.5412 GB, free: 4.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.396, allocations: 3.329 MB / 0.5444 GB, free: 2.734 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.031, allocations: 21.03 kB / 0.5444 GB, free: 2.715 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches