Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001768/0.001768, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002379/0.002379, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.513/1.513, 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.2267/0.2267, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.91 kB / 0.491 GB, free: 7.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1363, allocations: 65.99 MB / 0.5555 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003329/0.1397, allocations: 1.737 MB / 0.5572 GB, free: 3.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1414, allocations: 1.03 MB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.1415, allocations: 4 kB / 0.5582 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.1418, allocations: 55.75 kB / 0.5582 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1421, allocations: 95.61 kB / 0.5583 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1423, allocations: 79.66 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1425, allocations: 107.6 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.76e-05/0.1426, allocations: 15.98 kB / 0.5585 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.1426, allocations: 47.78 kB / 0.5585 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.1427, allocations: 31.86 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1427, allocations: 4 kB / 0.5586 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.1428, allocations: 47.97 kB / 0.5586 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.1429, allocations: 31.78 kB / 0.5587 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.143, allocations: 43.69 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1432, allocations: 127.4 kB / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1432, allocations: 0 / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1432, allocations: 0 / 0.5588 GB, free: 2.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1432, allocations: 0 / 0.5588 GB, free: 2.266 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006672/0.1439, allocations: 462.3 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1439, allocations: 12.03 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.1439, allocations: 34.73 kB / 0.5593 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.144, allocations: 16.84 kB / 0.5593 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.1443, allocations: 221.1 kB / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1443, allocations: 384 / 0.5595 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1443, allocations: 7.938 kB / 0.5595 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1445, allocations: 61.66 kB / 0.5596 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1445, allocations: 0 / 0.5596 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-06/0.1445, allocations: 4 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1445, allocations: 0 / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.68e-05/0.1446, allocations: 19.98 kB / 0.5596 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.145, allocations: 308.7 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1451, allocations: 58.67 kB / 0.56 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1452, allocations: 20.86 kB / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1452, allocations: 0 / 0.56 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.1454, allocations: 71.33 kB / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1454, allocations: 0 / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005506/0.1459, allocations: 177.3 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1459, allocations: 55.41 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1462, allocations: 278.7 kB / 0.5606 GB, free: 292 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.1463, allocations: 37.62 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.1464, allocations: 112.1 kB / 0.5607 GB, free: 132 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1464, allocations: 27.73 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/0.1464, allocations: 25.7 kB / 0.5607 GB, free: 72 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.1466, allocations: 326.8 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.1467, allocations: 19.98 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.1468, allocations: 33.72 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1469, allocations: 65.69 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1469, allocations: 0 / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.1471, allocations: 109.5 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1471, allocations: 8 kB / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1471, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1472, allocations: 0 / 0.5613 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.1472, allocations: 19.94 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.1472, allocations: 4.031 kB / 0.5613 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1473, allocations: 7.922 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1473, allocations: 4 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001229/0.1474, allocations: 136 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1475, allocations: 15.91 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1475, allocations: 25.39 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1475, allocations: 384 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1475, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1475, allocations: 3.938 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.148, allocations: 407.3 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.148, allocations: 4 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.1481, allocations: 8 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.1481, allocations: 3.938 kB / 0.5619 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1481, allocations: 4 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1481, allocations: 0 / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1481, allocations: 4 kB / 0.5619 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1483, allocations: 212.5 kB / 0.5621 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1484, allocations: 89.2 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.1484, allocations: 7.938 kB / 0.5622 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1485, allocations: 7.938 kB / 0.5622 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1485, allocations: 7.984 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1486, allocations: 7.938 kB / 0.5622 GB, free: 14.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1488, allocations: 200.6 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1488, allocations: 4 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000263/0.149, allocations: 31.92 kB / 0.5624 GB, free: 14.2 MB / 430.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002244/0.1513, allocations: 1.087 MB / 0.5635 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1514, allocations: 59.91 kB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1514, allocations: 0 / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-05/0.1515, allocations: 23.98 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1519, allocations: 36.09 kB / 0.5636 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.154, allocations: 1.85 MB / 0.5654 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1545, allocations: 0.7196 MB / 0.5661 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.1545, allocations: 21.19 kB / 0.5662 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.1546, allocations: 47.41 kB / 0.5662 GB, free: 10.4 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1546, allocations: 0 / 0.5662 GB, free: 10.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.1827, allocations: 3.816 MB / 0.5699 GB, free: 6.641 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/8.378, allocations: 4.453 kB / 0.5699 GB, free: 6.641 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.551429131999612]