Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 116.5 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002065/0.002065, allocations: 212.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.9 MB / 357.4 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 77.48 kB / 0.4913 GB, free: 27.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.148, allocations: 65.99 MB / 0.5557 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003137/0.1512, allocations: 1.605 MB / 0.5573 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1522, allocations: 0.5332 MB / 0.5578 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.1523, allocations: 0 / 0.5578 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002097/0.1525, allocations: 35.78 kB / 0.5578 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1528, allocations: 75.69 kB / 0.5579 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.153, allocations: 87.7 kB / 0.558 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.1532, allocations: 71.77 kB / 0.5581 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.1533, allocations: 4.281 kB / 0.5581 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.1533, allocations: 23.91 kB / 0.5581 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.084e-05/0.1534, allocations: 23.86 kB / 0.5581 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1534, allocations: 4 kB / 0.5581 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.1535, allocations: 31.98 kB / 0.5581 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.1535, allocations: 11.94 kB / 0.5582 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1536, allocations: 19.86 kB / 0.5582 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1538, allocations: 91.53 kB / 0.5583 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1538, allocations: 0 / 0.5583 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1538, allocations: 0 / 0.5583 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1538, allocations: 0 / 0.5583 GB, free: 6.57 MB / 414.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.0005371/0.1543, allocations: 386.9 kB / 0.5586 GB, free: 6.141 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1544, allocations: 12.03 kB / 0.5586 GB, free: 6.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.377e-05/0.1544, allocations: 34.75 kB / 0.5587 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.1544, allocations: 8.891 kB / 0.5587 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1546, allocations: 188.3 kB / 0.5589 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1546, allocations: 384 / 0.5589 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1547, allocations: 8.375 kB / 0.5589 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1548, allocations: 46.19 kB / 0.5589 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1548, allocations: 3.938 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1548, allocations: 4 kB / 0.5589 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1548, allocations: 4 kB / 0.5589 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.1549, allocations: 19.97 kB / 0.5589 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1553, allocations: 276.8 kB / 0.5592 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1555, allocations: 54.48 kB / 0.5593 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.1556, allocations: 8.859 kB / 0.5593 GB, free: 5.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1556, allocations: 3.984 kB / 0.5593 GB, free: 5.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1556, allocations: 34.56 kB / 0.5593 GB, free: 5.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1556, allocations: 4 kB / 0.5593 GB, free: 5.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005449/0.1561, allocations: 149.4 kB / 0.5594 GB, free: 5.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1562, allocations: 51.41 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1564, allocations: 146.2 kB / 0.5596 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.1564, allocations: 29.64 kB / 0.5597 GB, free: 4.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.1564, allocations: 96.12 kB / 0.5598 GB, free: 4.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1565, allocations: 19.8 kB / 0.5598 GB, free: 4.797 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1565, allocations: 25.7 kB / 0.5598 GB, free: 4.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1567, allocations: 318.8 kB / 0.5601 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.1567, allocations: 19.98 kB / 0.5601 GB, free: 4.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-05/0.1568, allocations: 19.98 kB / 0.5601 GB, free: 4.406 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1569, allocations: 44.77 kB / 0.5602 GB, free: 4.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1569, allocations: 4.188 kB / 0.5602 GB, free: 4.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.1571, allocations: 89.61 kB / 0.5603 GB, free: 4.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1571, allocations: 9.875 kB / 0.5603 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1571, allocations: 0 / 0.5603 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1571, allocations: 0 / 0.5603 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1572, allocations: 8 kB / 0.5603 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1572, allocations: 0 / 0.5603 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.1572, allocations: 7.984 kB / 0.5603 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1572, allocations: 4 kB / 0.5603 GB, free: 4.234 MB / 414.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.442e-05/0.1573, allocations: 121.8 kB / 0.5604 GB, free: 4.105 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1574, allocations: 7.953 kB / 0.5604 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.1576, allocations: 93.89 kB / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1576, allocations: 0 / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1576, allocations: 0 / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1576, allocations: 0 / 0.5605 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1581, allocations: 350.4 kB / 0.5609 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1581, allocations: 4 kB / 0.5609 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.1581, allocations: 11.98 kB / 0.5609 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1581, allocations: 7.938 kB / 0.5609 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1581, allocations: 0 / 0.5609 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1581, allocations: 3.984 kB / 0.5609 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1581, allocations: 3.938 kB / 0.5609 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1584, allocations: 179.5 kB / 0.5611 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1584, allocations: 85.31 kB / 0.5611 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.1584, allocations: 4 kB / 0.5611 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.1585, allocations: 11.98 kB / 0.5611 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1585, allocations: 7.875 kB / 0.5612 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1585, allocations: 4 kB / 0.5612 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.1586, allocations: 117.7 kB / 0.5613 GB, free: 3.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1586, allocations: 0 / 0.5613 GB, free: 3.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1589, allocations: 12 kB / 0.5613 GB, free: 3.121 MB / 414.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.001909/0.1608, allocations: 1.004 MB / 0.5623 GB, free: 2.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.161, allocations: 51.91 kB / 0.5623 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.161, allocations: 4 kB / 0.5623 GB, free: 2.188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.1611, allocations: 23.98 kB / 0.5623 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1614, allocations: 26.3 kB / 0.5624 GB, free: 2.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1633, allocations: 1.437 MB / 0.5638 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.1637, allocations: 0.7002 MB / 0.5645 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.693e-05/0.1638, allocations: 11.77 kB / 0.5645 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.1638, allocations: 19.44 kB / 0.5645 GB, free: 15.86 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1638, allocations: 0 / 0.5645 GB, free: 15.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.191, allocations: 2.561 MB / 0.567 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.345, allocations: 0 / 0.567 GB, free: 13.34 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.58596472069621]