Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.002123/0.002123, allocations: 116.2 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.002443/0.002443, allocations: 218.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 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.663/1.663, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2755/0.2755, allocations: 44.91 MB / 355.8 MB, free: 12.4 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.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",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.002182/0.002182, allocations: 69.62 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 65.42 MB / 0.5524 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.005391/0.1431, allocations: 1.615 MB / 0.554 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1454, allocations: 1.171 MB / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.1455, allocations: 0 / 0.5552 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1457, allocations: 27.84 kB / 0.5552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.1461, allocations: 83.62 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.1465, allocations: 115.2 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1467, allocations: 75.75 kB / 0.5555 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1469, allocations: 15.94 kB / 0.5555 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.1469, allocations: 19.92 kB / 0.5555 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1471, allocations: 39.83 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.1471, allocations: 7.938 kB / 0.5555 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1474, allocations: 91.94 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.1474, allocations: 15.92 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.1475, allocations: 23.88 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003852/0.1479, allocations: 147.5 kB / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1479, allocations: 0 / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1479, allocations: 0 / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.1479, allocations: 0 / 0.5558 GB, free: 6.684 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.000713/0.1486, allocations: 402.8 kB / 0.5562 GB, free: 6.242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1487, allocations: 12.03 kB / 0.5562 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.1487, allocations: 4.172 kB / 0.5562 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.1487, allocations: 34.73 kB / 0.5562 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.1488, allocations: 12.89 kB / 0.5562 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1491, allocations: 192.2 kB / 0.5564 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1491, allocations: 8.312 kB / 0.5564 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1491, allocations: 12.06 kB / 0.5565 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.1493, allocations: 55.41 kB / 0.5565 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1494, allocations: 4 kB / 0.5565 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1494, allocations: 7.984 kB / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1494, allocations: 0 / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.1495, allocations: 23.98 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.1501, allocations: 284.8 kB / 0.5568 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1503, allocations: 42.56 kB / 0.5569 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.938e-05/0.1504, allocations: 16.94 kB / 0.5569 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.1504, allocations: 7.984 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1504, allocations: 38.56 kB / 0.5569 GB, free: 5.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1504, allocations: 0 / 0.5569 GB, free: 5.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006976/0.1511, allocations: 153.3 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.1512, allocations: 77.11 kB / 0.5571 GB, free: 5.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1514, allocations: 155.6 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1514, allocations: 25.7 kB / 0.5573 GB, free: 4.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.1515, allocations: 92.14 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1515, allocations: 19.86 kB / 0.5574 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1516, allocations: 17.7 kB / 0.5574 GB, free: 4.793 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1517, allocations: 322.8 kB / 0.5577 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.1518, allocations: 23.97 kB / 0.5578 GB, free: 4.445 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1519, allocations: 41.64 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1521, allocations: 52.83 kB / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1521, allocations: 0 / 0.5578 GB, free: 4.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002207/0.1523, allocations: 81.61 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1523, allocations: 8 kB / 0.5579 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1523, allocations: 288 / 0.5579 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1523, allocations: 3.938 kB / 0.5579 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.1524, allocations: 16.02 kB / 0.558 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1524, allocations: 0 / 0.558 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.1525, allocations: 19.81 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1525, allocations: 4 kB / 0.558 GB, free: 4.207 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 0.0001005/0.1526, allocations: 120 kB / 0.5581 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.1526, allocations: 11.94 kB / 0.5581 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.1529, allocations: 89.97 kB / 0.5582 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1529, allocations: 8 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1529, allocations: 0 / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1529, allocations: 7.922 kB / 0.5582 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.1534, allocations: 354.8 kB / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1534, allocations: 0 / 0.5585 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.1535, allocations: 11.98 kB / 0.5586 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.1535, allocations: 7.938 kB / 0.5586 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1535, allocations: 7.938 kB / 0.5586 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1535, allocations: 4 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1535, allocations: 0 / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.1538, allocations: 183.4 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1538, allocations: 85.05 kB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1539, allocations: 7.938 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.1539, allocations: 0 / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.154, allocations: 15.98 kB / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.154, allocations: 0 / 0.5589 GB, free: 3.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1541, allocations: 113.6 kB / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1541, allocations: 0 / 0.559 GB, free: 3.094 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.1544, allocations: 39.86 kB / 0.559 GB, free: 3.055 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.002389/0.1568, allocations: 1.109 MB / 0.5601 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.157, allocations: 47.91 kB / 0.5601 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.157, allocations: 0 / 0.5601 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/0.1571, allocations: 28.09 kB / 0.5602 GB, free: 2.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1575, allocations: 19.77 kB / 0.5602 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1594, allocations: 1.461 MB / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1598, allocations: 0.6885 MB / 0.5623 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.445e-05/0.1599, allocations: 19.77 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.16, allocations: 27.42 kB / 0.5623 GB, free: 15.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.16, allocations: 0 / 0.5623 GB, free: 15.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.1834, allocations: 3.311 MB / 0.5655 GB, free: 12.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.538, allocations: 11.75 kB / 0.5656 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.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.090248761989642]