Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001857/0.001857, allocations: 121 kB / 18.5 MB, free: 4.562 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.002346/0.002346, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.649/1.649, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2291/0.2291, allocations: 44.9 MB / 355.8 MB, free: 12.32 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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.002917/0.002917, allocations: 67.89 kB / 0.4886 GB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1485, allocations: 65.42 MB / 0.5525 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003566/0.1521, allocations: 1.63 MB / 0.554 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1532, allocations: 0.5494 MB / 0.5546 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1533, allocations: 0 / 0.5546 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1536, allocations: 99.73 kB / 0.5547 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.1539, allocations: 115.6 kB / 0.5548 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.1542, allocations: 103.7 kB / 0.5549 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1544, allocations: 91.73 kB / 0.555 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1545, allocations: 15.92 kB / 0.555 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.1546, allocations: 43.84 kB / 0.555 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1547, allocations: 63.75 kB / 0.5551 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1547, allocations: 4 kB / 0.5551 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1548, allocations: 43.97 kB / 0.5551 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.1549, allocations: 27.92 kB / 0.5552 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.1549, allocations: 31.73 kB / 0.5552 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1551, allocations: 111.5 kB / 0.5553 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1551, allocations: 0 / 0.5553 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1551, allocations: 0 / 0.5553 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1551, allocations: 0 / 0.5553 GB, free: 7.301 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005733/0.1557, allocations: 434.6 kB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1558, allocations: 8.031 kB / 0.5557 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.671e-05/0.1558, allocations: 4.188 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.1558, allocations: 30.75 kB / 0.5558 GB, free: 6.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1558, allocations: 16.83 kB / 0.5558 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1561, allocations: 204.2 kB / 0.556 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1561, allocations: 4.375 kB / 0.556 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1561, allocations: 12.08 kB / 0.556 GB, free: 6.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1563, allocations: 61.56 kB / 0.556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1563, allocations: 0 / 0.556 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1563, allocations: 4 kB / 0.556 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1563, allocations: 3.984 kB / 0.5561 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1564, allocations: 27.97 kB / 0.5561 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.1569, allocations: 300.8 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.157, allocations: 50.5 kB / 0.5564 GB, free: 6.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.157, allocations: 16.94 kB / 0.5564 GB, free: 5.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.1571, allocations: 4.078 kB / 0.5564 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1571, allocations: 30.56 kB / 0.5565 GB, free: 5.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1571, allocations: 0 / 0.5565 GB, free: 5.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009617/0.1581, allocations: 249.1 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1581, allocations: 59.34 kB / 0.5568 GB, free: 5.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1584, allocations: 226.7 kB / 0.557 GB, free: 5.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1584, allocations: 29.7 kB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.1584, allocations: 104.1 kB / 0.5571 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1585, allocations: 31.73 kB / 0.5571 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1585, allocations: 25.72 kB / 0.5572 GB, free: 5.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1587, allocations: 322.8 kB / 0.5575 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.1588, allocations: 35.91 kB / 0.5575 GB, free: 4.824 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.1589, allocations: 27.98 kB / 0.5575 GB, free: 4.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.159, allocations: 72.81 kB / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.159, allocations: 0 / 0.5576 GB, free: 4.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002519/0.1593, allocations: 117.5 kB / 0.5577 GB, free: 4.602 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1593, allocations: 8 kB / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1593, allocations: 0 / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1593, allocations: 0 / 0.5577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1594, allocations: 19.92 kB / 0.5577 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1594, allocations: 3.938 kB / 0.5577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1595, allocations: 7.984 kB / 0.5577 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1595, allocations: 8 kB / 0.5578 GB, free: 4.555 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 (8): * Single equations (assignments): 8 * 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.0001078/0.1596, allocations: 133.1 kB / 0.5579 GB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1596, allocations: 11.89 kB / 0.5579 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.16, allocations: 135.3 kB / 0.558 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.16, allocations: 7.938 kB / 0.558 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.16, allocations: 3.938 kB / 0.558 GB, free: 4.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.16, allocations: 3.984 kB / 0.558 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.1606, allocations: 423.2 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1606, allocations: 3.938 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.948e-05/0.1607, allocations: 23.98 kB / 0.5585 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1607, allocations: 0 / 0.5585 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1607, allocations: 4 kB / 0.5585 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.1607, allocations: 4 kB / 0.5585 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1607, allocations: 0 / 0.5585 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.161, allocations: 216.2 kB / 0.5587 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.161, allocations: 92.98 kB / 0.5588 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.161, allocations: 0 / 0.5588 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1611, allocations: 4.422 kB / 0.5588 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1612, allocations: 11.98 kB / 0.5588 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1612, allocations: 4 kB / 0.5588 GB, free: 3.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1613, allocations: 171.2 kB / 0.559 GB, free: 3.211 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1613, allocations: 8 kB / 0.559 GB, free: 3.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1616, allocations: 27.88 kB / 0.559 GB, free: 3.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002235/0.1638, allocations: 1.098 MB / 0.5601 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002587/0.1641, allocations: 71.94 kB / 0.5601 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1641, allocations: 0 / 0.5601 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1642, allocations: 44.08 kB / 0.5602 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1646, allocations: 27.81 kB / 0.5602 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.1667, allocations: 1.762 MB / 0.5619 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1671, allocations: 0.7119 MB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1672, allocations: 20.64 kB / 0.5626 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.1672, allocations: 39.42 kB / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1672, allocations: 0 / 0.5627 GB, free: 15.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.1863, allocations: 3.311 MB / 0.5659 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.54, allocations: 4.047 kB / 0.5659 GB, free: 12.21 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.913557733991183]