Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 206.4 kB / 18.58 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, 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.2444/0.2444, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001629, allocations: 79.38 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1292, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00402/0.1332, allocations: 1.592 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1343, allocations: 0.5416 MB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.1344, allocations: 4 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.1346, allocations: 31.78 kB / 482.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.135, allocations: 79.62 kB / 482.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.1353, allocations: 115.6 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1355, allocations: 59.91 kB / 482.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.1356, allocations: 11.94 kB / 482.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.1356, allocations: 31.84 kB / 482.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.1357, allocations: 19.86 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1357, allocations: 4 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.1358, allocations: 35.98 kB / 482.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.1359, allocations: 15.98 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.1359, allocations: 23.75 kB / 482.7 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1361, allocations: 84.06 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1361, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1361, allocations: 4 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1361, allocations: 0 / 482.8 MB, free: 2.531 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.0005392/0.1367, allocations: 402.9 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1367, allocations: 12.03 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.1368, allocations: 30.75 kB / 483.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.1368, allocations: 8.844 kB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1371, allocations: 192.7 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1371, allocations: 8.125 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1371, allocations: 4 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.1373, allocations: 53.67 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1373, allocations: 0 / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1373, allocations: 0 / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1373, allocations: 0 / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.888e-05/0.1374, allocations: 27.92 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.1378, allocations: 284.9 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.138, allocations: 42.56 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.1381, allocations: 24.88 kB / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1381, allocations: 0 / 483.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.1382, allocations: 38.5 kB / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1382, allocations: 0 / 483.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006167/0.1388, allocations: 153.3 kB / 484 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1389, allocations: 51.41 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.1391, allocations: 183.8 kB / 484.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1391, allocations: 25.7 kB / 484.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1391, allocations: 100 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.1392, allocations: 23.72 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.1392, allocations: 17.72 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1394, allocations: 322.8 kB / 484.7 MB, free: 348 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1395, allocations: 19.98 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.1395, allocations: 19.98 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1397, allocations: 53.02 kB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1397, allocations: 0 / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002019/0.1399, allocations: 101.5 kB / 484.9 MB, free: 144 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1399, allocations: 4 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1399, allocations: 0 / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.14, allocations: 0 / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.14, allocations: 19.92 kB / 484.9 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.14, allocations: 3.938 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.1401, allocations: 4 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1401, allocations: 0 / 485 MB, free: 112 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 0.0001171/0.1402, allocations: 125.8 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.1403, allocations: 7.906 kB / 485.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.1405, allocations: 101.9 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1406, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1406, allocations: 3.938 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1406, allocations: 288 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.141, allocations: 358.6 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.141, allocations: 0 / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.1411, allocations: 11.98 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1411, allocations: 7.938 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1411, allocations: 3.984 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1411, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1411, allocations: 3.938 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1414, allocations: 187.5 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1414, allocations: 81.02 kB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1415, allocations: 16 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1415, allocations: 3.984 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1416, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1416, allocations: 3.938 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1417, allocations: 142.5 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1417, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.142, allocations: 12 kB / 486 MB, free: 14.95 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.001275/0.1432, allocations: 1.009 MB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1435, allocations: 55.97 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1435, allocations: 4 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.925e-05/0.1436, allocations: 31.91 kB / 487.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1439, allocations: 19.45 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1456, allocations: 1.521 MB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1459, allocations: 0.6963 MB / 489.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.146, allocations: 16.05 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.146, allocations: 27.42 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.146, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0182/0.1642, allocations: 2.597 MB / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.762, allocations: 11.75 kB / 492 MB, free: 9.043 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches