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.001549/0.001549, allocations: 108.8 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.001311/0.001312, 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.43/1.43, 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.221/0.221, allocations: 44.18 MB / 336.2 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.14 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.004571/0.1564, allocations: 1.612 MB / 470.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008909/0.1574, allocations: 407.3 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.439e-05/0.1575, allocations: 0 / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.1578, allocations: 23.91 kB / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.158, allocations: 35.86 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1585, allocations: 98.56 kB / 471 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1587, allocations: 55.84 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1588, allocations: 19.97 kB / 471.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.1589, allocations: 19.92 kB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.1589, allocations: 23.86 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.159, allocations: 0 / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1591, allocations: 27.94 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.162e-05/0.1592, allocations: 19.91 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.1592, allocations: 15.88 kB / 471.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1594, allocations: 72.08 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1594, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.1594, allocations: 4 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1594, allocations: 0 / 471.2 MB, free: 12.2 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.0005762/0.16, allocations: 371.3 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.1601, allocations: 8.031 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.1601, allocations: 30.75 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.1602, allocations: 8.844 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1604, allocations: 200 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1604, allocations: 4.312 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1605, allocations: 8.375 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1607, allocations: 53.56 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1607, allocations: 4 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1607, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1607, allocations: 0 / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.861e-05/0.1608, allocations: 23.97 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.1613, allocations: 280.8 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1616, allocations: 42.56 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.1616, allocations: 24.94 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.1617, allocations: 0 / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1617, allocations: 34.56 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1617, allocations: 0 / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006728/0.1624, allocations: 153.2 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1625, allocations: 51.41 kB / 472.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1626, allocations: 142.1 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1627, allocations: 25.7 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.1627, allocations: 92.14 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1628, allocations: 19.73 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1628, allocations: 13.72 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.163, allocations: 330.8 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.163, allocations: 23.92 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.1631, allocations: 19.98 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1633, allocations: 48.83 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1633, allocations: 0 / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1635, allocations: 93.56 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1635, allocations: 4 kB / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1635, allocations: 0 / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.1636, allocations: 0 / 473.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.185e-05/0.1636, allocations: 15.98 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1636, allocations: 3.938 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.1637, allocations: 4 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1637, allocations: 7.922 kB / 473.3 MB, free: 9.863 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.0001351/0.1639, allocations: 113.8 kB / 473.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1639, allocations: 15.89 kB / 473.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1642, allocations: 97.91 kB / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1642, allocations: 0 / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1642, allocations: 0 / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1642, allocations: 0 / 473.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000527/0.1648, allocations: 358.8 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1648, allocations: 4 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.1648, allocations: 8 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1648, allocations: 4.266 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1649, allocations: 4 kB / 473.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1649, allocations: 7.875 kB / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1649, allocations: 0 / 473.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.1652, allocations: 191.4 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.1653, allocations: 85 kB / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1653, allocations: 0 / 474.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1654, allocations: 7.938 kB / 474.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.1654, allocations: 7.984 kB / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1654, allocations: 0 / 474.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.925e-05/0.1655, allocations: 114.4 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1655, allocations: 0 / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1658, allocations: 11.98 kB / 474.3 MB, free: 8.75 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.001522/0.1673, allocations: 1.014 MB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002279/0.1676, allocations: 59.89 kB / 475.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1676, allocations: 4 kB / 475.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.1677, allocations: 23.98 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.1681, allocations: 19.92 kB / 475.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.17, allocations: 1.439 MB / 476.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1704, allocations: 0.6924 MB / 477.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.1705, allocations: 12.22 kB / 477.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.1706, allocations: 23.42 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1706, allocations: 0 / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.1837, allocations: 2.31 MB / 479.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.1841, allocations: 228.7 kB / 480.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.263, allocations: 0 / 480.2 MB, free: 3.02 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