Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001009/0.001009, 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.001139/0.00114, 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.416/1.416, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.1 MB / 344.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 82.58 kB / 417.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 62.45 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003374/0.1364, allocations: 1.583 MB / 481.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1375, allocations: 0.5377 MB / 482.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.093e-05/0.1376, allocations: 3.938 kB / 482.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.1379, allocations: 35.77 kB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1382, allocations: 79.69 kB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1386, allocations: 107.7 kB / 482.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1388, allocations: 67.83 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1389, allocations: 16 kB / 482.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.404e-05/0.139, allocations: 23.86 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.139, allocations: 23.86 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.139, allocations: 0 / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.1391, allocations: 35.98 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.1392, allocations: 15.92 kB / 482.7 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.1393, allocations: 23.81 kB / 482.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1395, allocations: 88.05 kB / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.1395, allocations: 0 / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1395, allocations: 0 / 482.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1395, allocations: 7.938 kB / 482.8 MB, free: 2.566 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.0005032/0.14, allocations: 395 kB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.14, allocations: 8.031 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1401, allocations: 34.75 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.1401, allocations: 8.844 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.1403, allocations: 196.7 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1403, allocations: 4.125 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1404, allocations: 8 kB / 483.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.1405, allocations: 49.67 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1405, allocations: 0 / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1405, allocations: 7.938 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1406, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.1406, allocations: 23.98 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.141, allocations: 284.8 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.1412, allocations: 46.56 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/0.1413, allocations: 24.88 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1413, allocations: 0 / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1414, allocations: 30.56 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1414, allocations: 0 / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005841/0.142, allocations: 161.2 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.142, allocations: 51.41 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1422, allocations: 174.4 kB / 484.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1422, allocations: 25.7 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1423, allocations: 104 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1423, allocations: 19.75 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.1424, allocations: 17.7 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1425, allocations: 326.8 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.722e-05/0.1426, allocations: 19.98 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.1427, allocations: 19.98 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1428, allocations: 52.83 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1428, allocations: 0 / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.143, allocations: 89.5 kB / 484.9 MB, free: 196 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1431, allocations: 8 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1431, allocations: 7.938 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1431, allocations: 0 / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.1432, allocations: 11.98 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1432, allocations: 3.938 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.1432, allocations: 4 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1433, allocations: 0.5312 kB / 484.9 MB, free: 160 kB / 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.559e-05/0.1434, allocations: 121.8 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.1434, allocations: 15.91 kB / 485.1 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1437, allocations: 113.9 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1437, allocations: 0 / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/0.1437, allocations: 3.938 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1437, allocations: 4 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1442, allocations: 346.6 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1442, allocations: 4 kB / 485.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.1442, allocations: 19.92 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1443, allocations: 3.938 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1443, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1443, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1443, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.1445, allocations: 187.3 kB / 485.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1446, allocations: 89.02 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1446, allocations: 3.938 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1447, allocations: 11.92 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1447, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1447, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1449, allocations: 134.3 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1449, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1451, allocations: 19.98 kB / 486 MB, free: 14.99 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.001453/0.1466, allocations: 1.024 MB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1468, allocations: 47.97 kB / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1468, allocations: 0 / 487.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.007e-05/0.1469, allocations: 35.91 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1473, allocations: 12 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.149, allocations: 1.517 MB / 488.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1493, allocations: 0.704 MB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.1494, allocations: 12.23 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.1494, allocations: 27.42 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1494, allocations: 0 / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1695, allocations: 2.595 MB / 492 MB, free: 9.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.79, allocations: 11.59 kB / 492 MB, free: 9.086 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches