Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.00128/0.00128, allocations: 106.5 kB / 15.98 MB, free: 6.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.001265/0.001265, allocations: 194.4 kB / 16.91 MB, free: 6.18 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.3489/0.349, allocations: 43.49 MB / 313.6 MB, free: 8.285 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.001956/0.001956, allocations: 67.91 kB / 382.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1347, allocations: 57.78 MB / 440.1 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003689/0.1384, allocations: 1.633 MB / 441.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007343/0.1392, allocations: 327.6 kB / 442.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.1393, allocations: 4 kB / 442.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.1397, allocations: 95.8 kB / 442.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.14, allocations: 59.81 kB / 442.2 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1403, allocations: 87.89 kB / 442.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1405, allocations: 87.73 kB / 442.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1406, allocations: 28.38 kB / 442.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.1407, allocations: 31.92 kB / 442.4 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1409, allocations: 55.81 kB / 442.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.1409, allocations: 4 kB / 442.5 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.141, allocations: 35.98 kB / 442.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.1411, allocations: 27.91 kB / 442.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.1411, allocations: 39.67 kB / 442.6 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1413, allocations: 103.6 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1413, allocations: 0 / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1413, allocations: 0 / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1414, allocations: 0 / 442.7 MB, free: 11.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005397/0.1419, allocations: 410.9 kB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.142, allocations: 15.89 kB / 443.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.142, allocations: 34.75 kB / 443.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.142, allocations: 12.75 kB / 443.2 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1423, allocations: 200.8 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1423, allocations: 12.31 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.1423, allocations: 12.12 kB / 443.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1425, allocations: 71.38 kB / 443.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1425, allocations: 3.906 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1426, allocations: 11.94 kB / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1426, allocations: 0 / 443.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1427, allocations: 35.91 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.1432, allocations: 397 kB / 443.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.1436, allocations: 93.05 kB / 444 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.1436, allocations: 33.89 kB / 444 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.1437, allocations: 3.984 kB / 444 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1437, allocations: 30.56 kB / 444 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1437, allocations: 4 kB / 444.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007491/0.1445, allocations: 244.6 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1445, allocations: 85.05 kB / 444.4 MB, free: 9.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1447, allocations: 226.3 kB / 444.6 MB, free: 9.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1448, allocations: 33.7 kB / 444.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.1448, allocations: 104.1 kB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1449, allocations: 27.56 kB / 444.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.1449, allocations: 25.7 kB / 444.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1451, allocations: 334.8 kB / 445.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.1451, allocations: 27.98 kB / 445.1 MB, free: 9.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.27e-05/0.1452, allocations: 49.69 kB / 445.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1454, allocations: 85.8 kB / 445.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1454, allocations: 0 / 445.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002384/0.1457, allocations: 129.4 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1457, allocations: 8 kB / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1457, allocations: 3.984 kB / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1457, allocations: 0 / 445.4 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.1458, allocations: 20.17 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1458, allocations: 7.938 kB / 445.4 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1459, allocations: 7.875 kB / 445.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1459, allocations: 4 kB / 445.4 MB, free: 8.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001006/0.146, allocations: 137.8 kB / 445.6 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.1461, allocations: 11.81 kB / 445.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1464, allocations: 150.7 kB / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1464, allocations: 0 / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1464, allocations: 8 kB / 445.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1464, allocations: 3.984 kB / 445.8 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.1471, allocations: 0.4986 MB / 446.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1471, allocations: 7.875 kB / 446.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.1471, allocations: 23.92 kB / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1472, allocations: 0 / 446.3 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1472, allocations: 8 kB / 446.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1472, allocations: 3.984 kB / 446.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1472, allocations: 0 / 446.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.1475, allocations: 299.4 kB / 446.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1476, allocations: 92.94 kB / 446.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1476, allocations: 4.609 kB / 446.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1477, allocations: 4 kB / 446.7 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.1477, allocations: 11.98 kB / 446.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.1478, allocations: 8 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1479, allocations: 172.2 kB / 446.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 446.9 MB, free: 7.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1482, allocations: 23.98 kB / 446.9 MB, free: 7.207 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001396/0.1496, allocations: 1.145 MB / 448 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.1499, allocations: 87.88 kB / 448.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1499, allocations: 0 / 448.1 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.15, allocations: 55.91 kB / 448.2 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1504, allocations: 19.86 kB / 448.2 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1523, allocations: 1.859 MB / 450.1 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1526, allocations: 0.7196 MB / 450.8 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.1527, allocations: 28.39 kB / 450.8 MB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.1528, allocations: 35.44 kB / 450.8 MB, free: 3.152 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1528, allocations: 3.938 kB / 450.8 MB, free: 3.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3753/0.5281, allocations: 2.966 MB / 453.8 MB, free: 172 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.192/0.7202, allocations: 234.8 kB / 454 MB, free: 51.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.851, allocations: 0 / 454 MB, free: 51.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches