Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 64.31 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004157/0.1427, allocations: 1.553 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1437, allocations: 403.3 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1439, allocations: 0 / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1443, allocations: 23.86 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.1447, allocations: 43.83 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.1452, allocations: 111.4 kB / 471.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.1455, allocations: 59.78 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1456, allocations: 8 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-05/0.1457, allocations: 23.91 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.093e-05/0.1458, allocations: 19.86 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.1458, allocations: 4 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1459, allocations: 39.94 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.686e-05/0.146, allocations: 11.92 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.1461, allocations: 23.86 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1463, allocations: 68.08 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1463, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1464, allocations: 0 / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1464, allocations: 0 / 471.7 MB, free: 11.88 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.0005747/0.1469, allocations: 371.3 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.86e-05/0.147, allocations: 8.031 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/0.1471, allocations: 38.75 kB / 472.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1471, allocations: 12.84 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1474, allocations: 194.9 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1474, allocations: 4.375 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.1475, allocations: 384 / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1477, allocations: 57.56 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1477, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1477, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1477, allocations: 0 / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1478, allocations: 31.97 kB / 472.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1484, allocations: 276.8 kB / 472.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1487, allocations: 42.56 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/0.1488, allocations: 20.94 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.1488, allocations: 3.984 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.1489, allocations: 34.56 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 3.497e-06/0.1489, allocations: 3.984 kB / 472.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006818/0.1496, allocations: 153.2 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.1497, allocations: 51.41 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1498, allocations: 138.1 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1499, allocations: 29.7 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.15, allocations: 96.12 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.15, allocations: 15.75 kB / 473.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1501, allocations: 17.72 kB / 473.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1502, allocations: 322.8 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.1503, allocations: 23.92 kB / 473.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.1504, allocations: 19.98 kB / 473.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1505, allocations: 56.83 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1505, allocations: 0 / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001905/0.1507, allocations: 89.5 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1508, allocations: 8 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1508, allocations: 0 / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1508, allocations: 0 / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.1509, allocations: 11.98 kB / 473.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1509, allocations: 4.188 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.1509, allocations: 8 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1509, allocations: 7.938 kB / 473.8 MB, free: 9.531 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 0.0001343/0.1511, allocations: 121.8 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.1511, allocations: 7.906 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1514, allocations: 89.97 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1514, allocations: 0 / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1514, allocations: 7.938 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1514, allocations: 0 / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.1519, allocations: 354.4 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1519, allocations: 0 / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.152, allocations: 15.98 kB / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.152, allocations: 0 / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.152, allocations: 0 / 474.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.152, allocations: 3.938 kB / 474.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.152, allocations: 4 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1523, allocations: 183.4 kB / 474.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.1523, allocations: 85.02 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1523, allocations: 4 kB / 474.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.294e-05/0.1524, allocations: 3.938 kB / 474.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.1525, allocations: 7.984 kB / 474.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1525, allocations: 4 kB / 474.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.818e-05/0.1526, allocations: 108.2 kB / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1526, allocations: 0 / 474.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1528, allocations: 23.98 kB / 474.8 MB, free: 8.422 MB / 350.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.001456/0.1543, allocations: 1.017 MB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1545, allocations: 51.89 kB / 475.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1545, allocations: 4 kB / 475.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.1546, allocations: 27.98 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.155, allocations: 27.52 kB / 476 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.157, allocations: 1.423 MB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.1574, allocations: 0.6924 MB / 478.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.171e-05/0.1575, allocations: 20.23 kB / 478.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.1575, allocations: 19.44 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1576, allocations: 0 / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1813, allocations: 2.391 MB / 480.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/7.909, allocations: 10.69 kB / 480.5 MB, free: 2.836 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches