Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 123.4 kB / 17.79 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002447/0.002447, allocations: 204.3 kB / 20.74 MB, free: 2.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 46.91 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 67.89 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1397, allocations: 65.99 MB / 0.5554 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003681/0.1434, allocations: 1.62 MB / 0.557 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1445, allocations: 0.565 MB / 0.5575 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.1446, allocations: 0 / 0.5575 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.1452, allocations: 459.1 kB / 0.558 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.1458, allocations: 287.3 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.1463, allocations: 171.1 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.1466, allocations: 167.6 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.1467, allocations: 8 kB / 0.5586 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1468, allocations: 111.8 kB / 0.5587 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.1472, allocations: 251.5 kB / 0.5589 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1472, allocations: 4 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.1473, allocations: 31.92 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1474, allocations: 79.69 kB / 0.559 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.1475, allocations: 103 kB / 0.5591 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.1478, allocations: 258.6 kB / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1478, allocations: 0 / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1478, allocations: 0 / 0.5594 GB, free: 1.762 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1479, allocations: 4 kB / 0.5594 GB, free: 1.758 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.0008221/0.1487, allocations: 0.6568 MB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1487, allocations: 12.03 kB / 0.56 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.1488, allocations: 34.69 kB / 0.5601 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.1489, allocations: 44.66 kB / 0.5601 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1492, allocations: 308.6 kB / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1492, allocations: 384 / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1493, allocations: 384 / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1494, allocations: 61.5 kB / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1494, allocations: 0 / 0.5605 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1494, allocations: 4 kB / 0.5605 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1494, allocations: 0 / 0.5605 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.1495, allocations: 27.97 kB / 0.5605 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.1501, allocations: 384.8 kB / 0.5608 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1502, allocations: 42.5 kB / 0.5609 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1502, allocations: 12.91 kB / 0.5609 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.1503, allocations: 4 kB / 0.5609 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.1503, allocations: 34.56 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.1503, allocations: 0 / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003084/0.1506, allocations: 105.3 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1507, allocations: 51.53 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009138/0.1516, allocations: 0.8777 MB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1516, allocations: 25.7 kB / 0.562 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1518, allocations: 228.1 kB / 0.5622 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1518, allocations: 7.891 kB / 0.5622 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.1518, allocations: 13.72 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.152, allocations: 370.7 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.1521, allocations: 8 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.1521, allocations: 15.98 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.1522, allocations: 24.84 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.1522, allocations: 4 kB / 0.5626 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001753/0.1524, allocations: 97.39 kB / 0.5627 GB, free: 14.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1524, allocations: 4 kB / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1524, allocations: 0 / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1524, allocations: 0 / 0.5627 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.1525, allocations: 12.09 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.1525, allocations: 3.938 kB / 0.5627 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.1526, allocations: 4 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1526, allocations: 7.938 kB / 0.5627 GB, free: 14.07 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0002293/0.1528, allocations: 219.9 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.1529, allocations: 43.67 kB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.1531, allocations: 112.7 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1531, allocations: 4.031 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1531, allocations: 4 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1531, allocations: 0 / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.1534, allocations: 289.5 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1534, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1535, allocations: 7.984 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1535, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1535, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1535, allocations: 3.938 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1535, allocations: 3.938 kB / 0.5634 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1537, allocations: 195.2 kB / 0.5636 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.1538, allocations: 116.8 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1538, allocations: 0 / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.1539, allocations: 0 / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.1539, allocations: 7.984 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.1539, allocations: 0 / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.1547, allocations: 0.6589 MB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1547, allocations: 4.031 kB / 0.5643 GB, free: 12.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1549, allocations: 19.94 kB / 0.5644 GB, free: 12.3 MB / 430.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 (2): * Single equations (assignments): 2 * 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.001861/0.1568, allocations: 0.9818 MB / 0.5653 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1569, allocations: 23.97 kB / 0.5653 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1569, allocations: 0 / 0.5653 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.157, allocations: 12 kB / 0.5654 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1574, allocations: 29.8 kB / 0.5654 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.1617, allocations: 3.187 MB / 0.5685 GB, free: 8.086 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.1622, allocations: 0.8182 MB / 0.5693 GB, free: 7.238 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.443e-05/0.1623, allocations: 23.73 kB / 0.5693 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1624, allocations: 115.4 kB / 0.5694 GB, free: 7.102 MB / 430.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1624, allocations: 0 / 0.5694 GB, free: 7.102 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.1934, allocations: 5.834 MB / 0.5751 GB, free: 1.316 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.775/8.968, allocations: 0 / 0.5751 GB, free: 1.316 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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: 12.096308745909482]