Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001545/0.001545, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001567/0.001567, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.509/1.509, 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.2444/0.2444, allocations: 46.92 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.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 65.99 MB / 0.5554 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003404/0.146, allocations: 1.605 MB / 0.557 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1482, allocations: 1.16 MB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.1482, allocations: 3.938 kB / 0.5581 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.1485, allocations: 23.86 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1488, allocations: 91.55 kB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.1491, allocations: 87.75 kB / 0.5583 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1493, allocations: 63.78 kB / 0.5584 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1494, allocations: 15.98 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.1495, allocations: 27.84 kB / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1497, allocations: 27.86 kB / 0.5584 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1497, allocations: 4 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1499, allocations: 107.9 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.15, allocations: 19.92 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.15, allocations: 27.8 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1503, allocations: 135.5 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1503, allocations: 0 / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1503, allocations: 0 / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1503, allocations: 0 / 0.5587 GB, free: 2.414 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.0006958/0.151, allocations: 402.7 kB / 0.5591 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1511, allocations: 8.031 kB / 0.5591 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.1511, allocations: 38.75 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.1512, allocations: 12.89 kB / 0.5591 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1515, allocations: 197.7 kB / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.1515, allocations: 384 / 0.5593 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1515, allocations: 4.375 kB / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1517, allocations: 67.33 kB / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1517, allocations: 0 / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1517, allocations: 0 / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1517, allocations: 0 / 0.5594 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.1518, allocations: 27.92 kB / 0.5594 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1523, allocations: 280.9 kB / 0.5597 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1526, allocations: 38.56 kB / 0.5597 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.1526, allocations: 16.94 kB / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1526, allocations: 0 / 0.5598 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1527, allocations: 42.5 kB / 0.5598 GB, free: 1.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1527, allocations: 0 / 0.5598 GB, free: 1.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006382/0.1533, allocations: 137.4 kB / 0.5599 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.1534, allocations: 77.11 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1536, allocations: 147.5 kB / 0.5601 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1536, allocations: 29.7 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1537, allocations: 92.14 kB / 0.5603 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.1537, allocations: 27.78 kB / 0.5603 GB, free: 0.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1538, allocations: 13.72 kB / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.154, allocations: 322.8 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.1541, allocations: 15.98 kB / 0.5606 GB, free: 228 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.1541, allocations: 33.69 kB / 0.5606 GB, free: 188 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1543, allocations: 60.92 kB / 0.5607 GB, free: 124 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1543, allocations: 4 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002148/0.1545, allocations: 81.56 kB / 0.5608 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1545, allocations: 4 kB / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1545, allocations: 0 / 0.5608 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1546, allocations: 4 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.1546, allocations: 11.98 kB / 0.5608 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1546, allocations: 4 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1547, allocations: 7.938 kB / 0.5608 GB, free: 0 / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1547, allocations: 0 / 0.5608 GB, free: 0 / 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.0001152/0.1548, allocations: 116 kB / 0.5609 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.1549, allocations: 11.94 kB / 0.5609 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.1552, allocations: 93.91 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1552, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1552, allocations: 4 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1552, allocations: 3.938 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1557, allocations: 346.5 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1557, allocations: 4 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.1558, allocations: 11.98 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1558, allocations: 288 / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1558, allocations: 7.875 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1558, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1558, allocations: 8 kB / 0.5614 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.156, allocations: 183.6 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.1561, allocations: 81.12 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.1561, allocations: 11.94 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.1562, allocations: 7.984 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.1563, allocations: 4 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.1563, allocations: 4 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1564, allocations: 117.4 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1564, allocations: 0 / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.1567, allocations: 39.86 kB / 0.5618 GB, free: 14.86 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 (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.002477/0.1592, allocations: 1.1 MB / 0.5629 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1594, allocations: 47.91 kB / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1594, allocations: 0 / 0.5629 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.1595, allocations: 27.92 kB / 0.563 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1599, allocations: 18.17 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.1618, allocations: 1.431 MB / 0.5644 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.1621, allocations: 0.6924 MB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.012e-05/0.1622, allocations: 12 kB / 0.5651 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1623, allocations: 27.42 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1623, allocations: 0 / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.1933, allocations: 3.242 MB / 0.5683 GB, free: 8.336 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.316, allocations: 27.08 kB / 0.5683 GB, free: 8.316 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.479269952978939]