Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4",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.001203/0.001203, allocations: 106.3 kB / 17.33 MB, free: 6 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.001272/0.001272, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.518/1.518, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2401/0.2401, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.67 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1435, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003771/0.1473, allocations: 1.668 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.1483, allocations: 431.1 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1484, allocations: 8 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1489, allocations: 83.81 kB / 471 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.1492, allocations: 55.88 kB / 471.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1496, allocations: 118.9 kB / 471.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000268/0.1499, allocations: 91.81 kB / 471.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1501, allocations: 28.2 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1502, allocations: 39.89 kB / 471.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1504, allocations: 59.81 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1504, allocations: 8 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1506, allocations: 51.92 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.1506, allocations: 27.86 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1507, allocations: 39.72 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.151, allocations: 123.6 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.151, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.151, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.151, allocations: 0 / 471.6 MB, free: 11.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006717/0.1517, allocations: 422.9 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.1518, allocations: 20.02 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.1518, allocations: 34.75 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.63e-05/0.1519, allocations: 16.75 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1521, allocations: 204.5 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1522, allocations: 4.375 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.1522, allocations: 8.375 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1524, allocations: 77.59 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1525, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1525, allocations: 4 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1525, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.1526, allocations: 43.97 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.1532, allocations: 352.5 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.1534, allocations: 62.55 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.1534, allocations: 36.78 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1535, allocations: 0 / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1535, allocations: 34.5 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1535, allocations: 4 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00112/0.1547, allocations: 321 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1547, allocations: 51.41 kB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1549, allocations: 235.5 kB / 473.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.155, allocations: 33.64 kB / 473.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/0.155, allocations: 116 kB / 473.7 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.1551, allocations: 43.3 kB / 473.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.1552, allocations: 29.72 kB / 473.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.1554, allocations: 330.8 kB / 474.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.1555, allocations: 43.97 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.05e-05/0.1556, allocations: 47.91 kB / 474.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1558, allocations: 109.8 kB / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1558, allocations: 0 / 474.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002784/0.1561, allocations: 156.5 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1562, allocations: 6.5 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1562, allocations: 4.641 kB / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1562, allocations: 0 / 474.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1563, allocations: 35.92 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1563, allocations: 0 / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.1564, allocations: 7.984 kB / 474.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1564, allocations: 0 / 474.5 MB, free: 8.746 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 (13): * Single equations (assignments): 13 * 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.0001031/0.1565, allocations: 141.8 kB / 474.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.1566, allocations: 15.81 kB / 474.6 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.1569, allocations: 187 kB / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.157, allocations: 0 / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.157, allocations: 4 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.157, allocations: 0 / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006598/0.1576, allocations: 0.499 MB / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1577, allocations: 0 / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.1578, allocations: 23.98 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1578, allocations: 0 / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1578, allocations: 7.984 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1578, allocations: 3.938 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1578, allocations: 0 / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1581, allocations: 260.1 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1582, allocations: 85.02 kB / 475.7 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1582, allocations: 4 kB / 475.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.1583, allocations: 4 kB / 475.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1583, allocations: 7.984 kB / 475.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1584, allocations: 12 kB / 475.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.1585, allocations: 175.2 kB / 475.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1585, allocations: 3.938 kB / 475.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1588, allocations: 28 kB / 475.9 MB, free: 7.195 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001588/0.1604, allocations: 1.142 MB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.1607, allocations: 119.9 kB / 477.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1607, allocations: 0 / 477.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1609, allocations: 59.91 kB / 477.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1613, allocations: 19.98 kB / 477.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1636, allocations: 1.92 MB / 479.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.164, allocations: 0.7236 MB / 479.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.907e-05/0.1642, allocations: 28.52 kB / 479.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.1642, allocations: 39.42 kB / 480 MB, free: 3.191 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1643, allocations: 0 / 480 MB, free: 3.191 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.1789, allocations: 3.339 MB / 483.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.1792, allocations: 232.8 kB / 483.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.113, allocations: 4 kB / 483.5 MB, free: 15.69 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches