Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19",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.0009/0.0009, allocations: 102.6 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000878/0.0008779, allocations: 180.2 kB / 16.92 MB, free: 6.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3907/0.3907, allocations: 43.58 MB / 315 MB, free: 9.082 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004982, allocations: 16 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 58.85 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002164/0.1398, allocations: 1.279 MB / 444.8 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.1412, allocations: 0.9142 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.1413, allocations: 4 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1415, allocations: 15.94 kB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1417, allocations: 39.84 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.142, allocations: 87.88 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.1422, allocations: 51.78 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1423, allocations: 16.27 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/0.1424, allocations: 15.92 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003338/0.1457, allocations: 27.84 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1457, allocations: 4 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1459, allocations: 51.92 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.146, allocations: 7.984 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.065e-05/0.1461, allocations: 45.56 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1464, allocations: 87.7 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1464, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1464, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1464, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.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.0006909/0.1471, allocations: 375.3 kB / 446.5 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.1472, allocations: 12.03 kB / 446.6 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.1473, allocations: 34.75 kB / 446.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.1473, allocations: 4.844 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.1476, allocations: 192.1 kB / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1476, allocations: 384 / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1477, allocations: 4.375 kB / 446.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.1479, allocations: 67.34 kB / 446.9 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.148, allocations: 3.984 kB / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.148, allocations: 4 kB / 446.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.148, allocations: 3.984 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1481, allocations: 23.98 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.1487, allocations: 280.8 kB / 447.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1489, allocations: 58.48 kB / 447.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.149, allocations: 16.86 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1491, allocations: 0 / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.1491, allocations: 30.66 kB / 447.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1491, allocations: 0 / 447.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007567/0.1499, allocations: 169.3 kB / 447.4 MB, free: 8.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.15, allocations: 77.11 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1502, allocations: 141.8 kB / 447.7 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.1502, allocations: 25.7 kB / 447.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.1503, allocations: 92.12 kB / 447.8 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.1503, allocations: 11.81 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.1504, allocations: 17.66 kB / 447.8 MB, free: 8.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1506, allocations: 330.7 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.1507, allocations: 23.98 kB / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.851e-05/0.1508, allocations: 37.7 kB / 448.2 MB, free: 7.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1509, allocations: 61.02 kB / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1509, allocations: 0 / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000217/0.1512, allocations: 101.6 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1512, allocations: 4 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1512, allocations: 0 / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1512, allocations: 0 / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1513, allocations: 19.92 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1513, allocations: 4 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.207e-05/0.1514, allocations: 8 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.1514, allocations: 3.938 kB / 448.4 MB, free: 7.707 MB / 382.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.756e-05/0.1515, allocations: 117.8 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1515, allocations: 7.906 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.1518, allocations: 101.6 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1518, allocations: 0 / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1518, allocations: 4 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1519, allocations: 0 / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.1523, allocations: 366.4 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1524, allocations: 0 / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.1524, allocations: 15.98 kB / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1524, allocations: 0 / 449 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1524, allocations: 4 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1525, allocations: 3.938 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1525, allocations: 0 / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1527, allocations: 195.6 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.1528, allocations: 93 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1529, allocations: 0 / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.153, allocations: 11.94 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.153, allocations: 11.92 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.153, allocations: 0 / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1531, allocations: 107.3 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1531, allocations: 0 / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1534, allocations: 23.98 kB / 449.4 MB, free: 6.559 MB / 382.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.001763/0.1552, allocations: 1.063 MB / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1555, allocations: 63.95 kB / 450.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1555, allocations: 0 / 450.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1556, allocations: 31.98 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.1561, allocations: 19.67 kB / 450.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.158, allocations: 1.435 MB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1583, allocations: 0.6926 MB / 452.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.429e-05/0.1584, allocations: 16.05 kB / 452.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.1584, allocations: 27.42 kB / 452.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1584, allocations: 0 / 452.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.1744, allocations: 2.318 MB / 455.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1746, allocations: 231.8 kB / 455.3 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.901, allocations: 8.062 kB / 455.3 MB, free: 0.5391 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches