Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001473/0.001473, allocations: 120.1 kB / 18.49 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.002426/0.002426, allocations: 215 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.5/1.5, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2476/0.2476, allocations: 44.91 MB / 355.8 MB, free: 12.36 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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30",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.002833/0.002833, allocations: 65.47 kB / 0.4886 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1442, allocations: 65.43 MB / 0.5525 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003182/0.1474, allocations: 1.626 MB / 0.5541 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1485, allocations: 0.5338 MB / 0.5546 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.1486, allocations: 4 kB / 0.5546 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1489, allocations: 79.7 kB / 0.5547 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1492, allocations: 103.6 kB / 0.5548 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1495, allocations: 98.89 kB / 0.5548 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1497, allocations: 87.73 kB / 0.5549 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1498, allocations: 15.92 kB / 0.5549 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.1499, allocations: 35.91 kB / 0.555 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.15, allocations: 63.75 kB / 0.555 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1501, allocations: 7.938 kB / 0.555 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1502, allocations: 47.97 kB / 0.5551 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1502, allocations: 19.92 kB / 0.5551 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.1503, allocations: 31.75 kB / 0.5551 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1505, allocations: 107.6 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1505, allocations: 3.938 kB / 0.5553 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1505, allocations: 0 / 0.5553 GB, free: 7.258 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.1505, allocations: 0 / 0.5553 GB, free: 7.258 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.0006162/0.1511, allocations: 414.7 kB / 0.5556 GB, free: 6.805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1512, allocations: 15.97 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.991e-05/0.1512, allocations: 192 / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.1512, allocations: 34.73 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.1513, allocations: 20.84 kB / 0.5557 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1515, allocations: 200.8 kB / 0.5559 GB, free: 6.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1515, allocations: 8.375 kB / 0.5559 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1515, allocations: 4.125 kB / 0.5559 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1517, allocations: 49.69 kB / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1517, allocations: 4 kB / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1517, allocations: 0 / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1517, allocations: 0 / 0.556 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1519, allocations: 31.91 kB / 0.556 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.1524, allocations: 292.8 kB / 0.5563 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1525, allocations: 42.56 kB / 0.5563 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.1526, allocations: 20.92 kB / 0.5563 GB, free: 5.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.1526, allocations: 3.938 kB / 0.5563 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.341e-05/0.1527, allocations: 42.56 kB / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1527, allocations: 0 / 0.5564 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009987/0.1537, allocations: 217.2 kB / 0.5566 GB, free: 5.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1537, allocations: 55.34 kB / 0.5566 GB, free: 5.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.154, allocations: 222.3 kB / 0.5569 GB, free: 5.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.154, allocations: 25.7 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.1541, allocations: 112.1 kB / 0.557 GB, free: 5.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1541, allocations: 27.75 kB / 0.557 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.1542, allocations: 21.7 kB / 0.557 GB, free: 5.211 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1544, allocations: 322.8 kB / 0.5573 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1544, allocations: 19.98 kB / 0.5574 GB, free: 4.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.004e-05/0.1545, allocations: 31.98 kB / 0.5574 GB, free: 4.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1547, allocations: 72.77 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1547, allocations: 0 / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002356/0.1549, allocations: 89.62 kB / 0.5575 GB, free: 4.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1549, allocations: 8 kB / 0.5576 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1549, allocations: 7.984 kB / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.155, allocations: 0 / 0.5576 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1551, allocations: 24 kB / 0.5576 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1551, allocations: 7.922 kB / 0.5576 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.1551, allocations: 4 kB / 0.5576 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1551, allocations: 0 / 0.5576 GB, free: 4.617 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.0001336/0.1553, allocations: 137.7 kB / 0.5577 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1553, allocations: 11.91 kB / 0.5577 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1556, allocations: 115.3 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1556, allocations: 8 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.1556, allocations: 3.938 kB / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1556, allocations: 0 / 0.5579 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005711/0.1562, allocations: 403.3 kB / 0.5582 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1562, allocations: 3.938 kB / 0.5582 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.1563, allocations: 19.98 kB / 0.5583 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1563, allocations: 4 kB / 0.5583 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1563, allocations: 7.969 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1563, allocations: 0 / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1563, allocations: 0 / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.1566, allocations: 200.3 kB / 0.5585 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.1567, allocations: 92.95 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.1567, allocations: 0 / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.1568, allocations: 15.98 kB / 0.5586 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1568, allocations: 4 kB / 0.5586 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1568, allocations: 4 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.157, allocations: 172.2 kB / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.157, allocations: 0 / 0.5587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1572, allocations: 15.94 kB / 0.5588 GB, free: 3.305 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.002289/0.1595, allocations: 1.097 MB / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1598, allocations: 63.89 kB / 0.5599 GB, free: 2.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1598, allocations: 4 kB / 0.5599 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.146e-05/0.1599, allocations: 32.14 kB / 0.5599 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1602, allocations: 23.95 kB / 0.56 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1624, allocations: 1.681 MB / 0.5616 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.163, allocations: 0.7061 MB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.262e-05/0.163, allocations: 12.66 kB / 0.5623 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.1631, allocations: 39.36 kB / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1631, allocations: 0 / 0.5623 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1864, allocations: 3.156 MB / 0.5654 GB, free: 12.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/8.759, allocations: 21.75 kB / 0.5654 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.96246270602569]