Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 84.88 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1333, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003303/0.1366, allocations: 1.654 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1385, allocations: 1.199 MB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1386, allocations: 0 / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.139, allocations: 35.78 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004374/0.1394, allocations: 79.62 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.14, allocations: 183 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1402, allocations: 79.77 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1404, allocations: 15.98 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.1405, allocations: 35.84 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1407, allocations: 47.2 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1408, allocations: 8 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.141, allocations: 95.89 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.1411, allocations: 23.91 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.1412, allocations: 31.8 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1416, allocations: 155.9 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1416, allocations: 0 / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1416, allocations: 0 / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1416, allocations: 0 / 483.8 MB, free: 1.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007991/0.1424, allocations: 419.1 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.1425, allocations: 8.031 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1425, allocations: 34.75 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.1426, allocations: 8.844 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1429, allocations: 202.5 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1429, allocations: 8.359 kB / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1429, allocations: 384 / 484.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.1431, allocations: 75.33 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1432, allocations: 7.938 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1432, allocations: 8 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1432, allocations: 0 / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1433, allocations: 43.89 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.1438, allocations: 304.8 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.144, allocations: 54.55 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.518e-05/0.1441, allocations: 28.94 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1441, allocations: 3.938 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1441, allocations: 30.56 kB / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.825e-06/0.1441, allocations: 0 / 485 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008765/0.145, allocations: 241.1 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.1451, allocations: 81.09 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1453, allocations: 157.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1453, allocations: 25.7 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1454, allocations: 100.1 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1454, allocations: 19.72 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1455, allocations: 25.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1456, allocations: 318.8 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.1458, allocations: 39.97 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1459, allocations: 53.69 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.1462, allocations: 88.78 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1462, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003306/0.1465, allocations: 129.7 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1465, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1466, allocations: 8.016 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.1466, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1467, allocations: 15.98 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1468, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.1469, allocations: 19.77 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1469, allocations: 4 kB / 486.3 MB, free: 14.76 MB / 366.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 (7): * Single equations (assignments): 7 * 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.0001128/0.147, allocations: 117.8 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.147, allocations: 7.906 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.1474, allocations: 142.3 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1475, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1475, allocations: 3.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1475, allocations: 3.938 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/0.1481, allocations: 410.5 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1482, allocations: 4.219 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.1483, allocations: 23.98 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1483, allocations: 3.984 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1483, allocations: 3.938 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1483, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1483, allocations: 7.938 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.1487, allocations: 223.4 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1488, allocations: 81.02 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.1488, allocations: 19.86 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.84e-05/0.1489, allocations: 4 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.149, allocations: 7.984 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.149, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1491, allocations: 129.4 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1491, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.1494, allocations: 47.98 kB / 487.5 MB, free: 13.44 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 (7): * Single equations (assignments): 7 * 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.001671/0.1511, allocations: 1.128 MB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1514, allocations: 95.86 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1515, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1516, allocations: 55.94 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.152, allocations: 12 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.1544, allocations: 1.651 MB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1547, allocations: 0.7002 MB / 491.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.1548, allocations: 28.7 kB / 491.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.1549, allocations: 27.42 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1549, allocations: 4 kB / 491.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.1793, allocations: 3.5 MB / 494.7 MB, free: 6.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.493, allocations: 18.2 kB / 494.7 MB, free: 6.32 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches