Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001387/0.001387, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001438/0.001438, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.597/1.597, allocations: 230.6 MB / 254.8 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 44.9 MB / 355.8 MB, free: 12.3 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 63.91 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1347, allocations: 65.43 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003787/0.1385, allocations: 1.682 MB / 0.5541 GB, free: 8.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1397, allocations: 0.5961 MB / 0.5547 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.1398, allocations: 4 kB / 0.5547 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005951/0.1404, allocations: 451.1 kB / 0.5551 GB, free: 7.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005572/0.1409, allocations: 291.3 kB / 0.5554 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.1415, allocations: 187.2 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.1418, allocations: 187.6 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1419, allocations: 24.42 kB / 0.5558 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1421, allocations: 115.7 kB / 0.5559 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/0.1424, allocations: 255.4 kB / 0.5561 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.1424, allocations: 4 kB / 0.5561 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1426, allocations: 55.98 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1427, allocations: 83.69 kB / 0.5563 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.1428, allocations: 118.9 kB / 0.5564 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.1432, allocations: 282.5 kB / 0.5567 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1432, allocations: 0 / 0.5567 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1432, allocations: 0 / 0.5567 GB, free: 5.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.1432, allocations: 0 / 0.5567 GB, free: 5.742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008963/0.1441, allocations: 0.6839 MB / 0.5573 GB, free: 5.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1442, allocations: 12.03 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.1442, allocations: 192 / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1442, allocations: 38.75 kB / 0.5574 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.1443, allocations: 44.66 kB / 0.5574 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1446, allocations: 308.6 kB / 0.5577 GB, free: 4.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1446, allocations: 8.375 kB / 0.5577 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.1447, allocations: 12.08 kB / 0.5577 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1449, allocations: 65.61 kB / 0.5578 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1449, allocations: 4 kB / 0.5578 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1449, allocations: 4 kB / 0.5578 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1449, allocations: 0 / 0.5578 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1451, allocations: 43.95 kB / 0.5578 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1457, allocations: 420.6 kB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1459, allocations: 54.55 kB / 0.5583 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.146, allocations: 32.91 kB / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.146, allocations: 0 / 0.5583 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1461, allocations: 38.56 kB / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1461, allocations: 0 / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001706/0.1478, allocations: 0.5041 MB / 0.5589 GB, free: 3.305 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1478, allocations: 55.41 kB / 0.5589 GB, free: 3.238 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/0.1488, allocations: 0.8737 MB / 0.5598 GB, free: 2.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1488, allocations: 25.7 kB / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.149, allocations: 220.1 kB / 0.56 GB, free: 2.102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.149, allocations: 35.64 kB / 0.56 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.149, allocations: 29.7 kB / 0.5601 GB, free: 2.031 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1492, allocations: 362.8 kB / 0.5604 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1494, allocations: 55.97 kB / 0.5605 GB, free: 1.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1495, allocations: 51.95 kB / 0.5605 GB, free: 1.562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.1498, allocations: 128.7 kB / 0.5606 GB, free: 1.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1498, allocations: 0 / 0.5606 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004189/0.1503, allocations: 209.2 kB / 0.5608 GB, free: 1.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1503, allocations: 4 kB / 0.5608 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1503, allocations: 0 / 0.5608 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1503, allocations: 3.938 kB / 0.5608 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1504, allocations: 24.55 kB / 0.5609 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1504, allocations: 7.984 kB / 0.5609 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.1505, allocations: 4 kB / 0.5609 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1505, allocations: 4 kB / 0.5609 GB, free: 1.176 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 (11): * Single equations (assignments): 11 * 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.0002102/0.1507, allocations: 227.9 kB / 0.5611 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.1508, allocations: 47.67 kB / 0.5611 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.1513, allocations: 237.8 kB / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1513, allocations: 0 / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1513, allocations: 0 / 0.5614 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1513, allocations: 7.984 kB / 0.5614 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.1522, allocations: 0.6015 MB / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1522, allocations: 0 / 0.562 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1523, allocations: 27.98 kB / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1523, allocations: 0 / 0.562 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.1523, allocations: 8.062 kB / 0.562 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.1523, allocations: 3.938 kB / 0.562 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1524, allocations: 4.094 kB / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.1528, allocations: 316.8 kB / 0.5623 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.1529, allocations: 116.8 kB / 0.5624 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.153, allocations: 4 kB / 0.5624 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1531, allocations: 11.98 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.1531, allocations: 7.984 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1531, allocations: 11.98 kB / 0.5625 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006671/0.1538, allocations: 0.6589 MB / 0.5631 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1538, allocations: 0 / 0.5631 GB, free: 14.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.1541, allocations: 35.92 kB / 0.5631 GB, free: 14.74 MB / 430.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 (11): * Single equations (assignments): 11 * 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.00243/0.1565, allocations: 1.195 MB / 0.5643 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003867/0.1569, allocations: 127.9 kB / 0.5644 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1569, allocations: 0 / 0.5644 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.1571, allocations: 63.89 kB / 0.5645 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1575, allocations: 26.81 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.1621, allocations: 3.564 MB / 0.568 GB, free: 9.832 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.1626, allocations: 0.8416 MB / 0.5688 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.602e-05/0.1627, allocations: 32.53 kB / 0.5688 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1629, allocations: 127.4 kB / 0.569 GB, free: 8.809 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1629, allocations: 0 / 0.569 GB, free: 8.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1883, allocations: 6.757 MB / 0.5756 GB, free: 2.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.127, allocations: 8.062 kB / 0.5756 GB, free: 2.105 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.517177995003294]