Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001341/0.001341, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 86.17 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.131, allocations: 62.44 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003503/0.1345, allocations: 1.649 MB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1356, allocations: 0.53 MB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.1357, allocations: 0 / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.136, allocations: 19.86 kB / 481.6 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1363, allocations: 63.83 kB / 481.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1367, allocations: 75.84 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1369, allocations: 71.77 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.137, allocations: 11.98 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.774e-05/0.1371, allocations: 19.92 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.1372, allocations: 19.86 kB / 481.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1372, allocations: 4 kB / 481.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1373, allocations: 31.94 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.1374, allocations: 19.91 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.1375, allocations: 19.88 kB / 481.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1376, allocations: 72.02 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1377, allocations: 0 / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1377, allocations: 0 / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1377, allocations: 0 / 482 MB, free: 2.977 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005346/0.1382, allocations: 391.2 kB / 482.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/0.1383, allocations: 8.875 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.667e-05/0.1384, allocations: 38.73 kB / 482.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1384, allocations: 12.84 kB / 482.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.1387, allocations: 188.1 kB / 482.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.1387, allocations: 384 / 482.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.1388, allocations: 4.375 kB / 482.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1389, allocations: 53.61 kB / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1389, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.139, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.139, allocations: 0 / 482.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1391, allocations: 19.98 kB / 482.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.1395, allocations: 276.9 kB / 483 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.1398, allocations: 46.5 kB / 483 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.1399, allocations: 16.94 kB / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1399, allocations: 0 / 483 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.14, allocations: 34.56 kB / 483.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.14, allocations: 0 / 483.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000605/0.1406, allocations: 153.4 kB / 483.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1406, allocations: 55.39 kB / 483.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.1408, allocations: 150.1 kB / 483.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1408, allocations: 29.7 kB / 483.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1409, allocations: 100.1 kB / 483.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1409, allocations: 7.812 kB / 483.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.141, allocations: 17.72 kB / 483.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1411, allocations: 326.8 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.1412, allocations: 19.98 kB / 483.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.1413, allocations: 20.05 kB / 483.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1414, allocations: 52.77 kB / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1414, allocations: 0 / 484 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001787/0.1416, allocations: 77.58 kB / 484 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1416, allocations: 4 kB / 484 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1417, allocations: 0 / 484 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1417, allocations: 0 / 484 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.1417, allocations: 19.98 kB / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1418, allocations: 0 / 484.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1418, allocations: 15.92 kB / 484.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1418, allocations: 3.938 kB / 484.1 MB, free: 0.6445 MB / 350.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 (5): * Single equations (assignments): 5 * 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 9.236e-05/0.1419, allocations: 117.8 kB / 484.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.142, allocations: 7.906 kB / 484.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.1422, allocations: 89.95 kB / 484.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1422, allocations: 0 / 484.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1422, allocations: 0 / 484.3 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1422, allocations: 8 kB / 484.3 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1427, allocations: 358.3 kB / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1427, allocations: 0 / 484.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.1428, allocations: 12.36 kB / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1428, allocations: 0 / 484.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1428, allocations: 4 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1429, allocations: 7.938 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1429, allocations: 0 / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.1431, allocations: 183.3 kB / 484.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.1431, allocations: 77.11 kB / 484.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1432, allocations: 4 kB / 484.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.1432, allocations: 7.938 kB / 484.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1433, allocations: 11.92 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1433, allocations: 0 / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.1434, allocations: 121.7 kB / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1434, allocations: 0 / 485.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1437, allocations: 15.89 kB / 485.1 MB, free: 15.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001441/0.1451, allocations: 1.005 MB / 486.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1454, allocations: 51.89 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1454, allocations: 0 / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.1455, allocations: 23.98 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1458, allocations: 13.5 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.1475, allocations: 1.451 MB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1478, allocations: 0.6887 MB / 488.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.1478, allocations: 15.98 kB / 488.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/0.1479, allocations: 23.44 kB / 488.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1479, allocations: 0 / 488.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/0.1601, allocations: 2.308 MB / 490.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.1603, allocations: 238.5 kB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.125, allocations: 0 / 490.9 MB, free: 9.789 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches