Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001899/0.001899, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002228, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3324/0.3324, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 79.88 kB / 0.4913 GB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1463, allocations: 65.99 MB / 0.5558 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003446/0.1497, allocations: 1.739 MB / 0.5575 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1516, allocations: 1.034 MB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.1517, allocations: 4 kB / 0.5585 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.152, allocations: 39.77 kB / 0.5585 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.1524, allocations: 95.53 kB / 0.5586 GB, free: 3.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1526, allocations: 79.67 kB / 0.5587 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1528, allocations: 103.7 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.153, allocations: 16 kB / 0.5588 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1531, allocations: 39.8 kB / 0.5588 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.1532, allocations: 31.83 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1532, allocations: 4 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1533, allocations: 43.98 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1534, allocations: 27.92 kB / 0.5589 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1535, allocations: 39.67 kB / 0.559 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1537, allocations: 111.5 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1537, allocations: 0 / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1537, allocations: 0 / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1537, allocations: 0 / 0.5591 GB, free: 2.691 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.0006717/0.1544, allocations: 422.7 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1544, allocations: 8.031 kB / 0.5595 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.1545, allocations: 30.75 kB / 0.5595 GB, free: 2.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1545, allocations: 20.84 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.1549, allocations: 208.1 kB / 0.5598 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1549, allocations: 4.375 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1549, allocations: 4.359 kB / 0.5598 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.1551, allocations: 57.8 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1551, allocations: 4 kB / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1551, allocations: 0 / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1551, allocations: 0 / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.908e-05/0.1552, allocations: 19.98 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.1556, allocations: 296.9 kB / 0.5601 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1558, allocations: 54.61 kB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.883e-05/0.1559, allocations: 20.84 kB / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1559, allocations: 0 / 0.5602 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.156, allocations: 71.39 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1561, allocations: 0 / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.1566, allocations: 173.3 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1567, allocations: 51.41 kB / 0.5605 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.1569, allocations: 187.3 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1569, allocations: 25.7 kB / 0.5607 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.157, allocations: 104.1 kB / 0.5608 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.157, allocations: 27.84 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.157, allocations: 21.72 kB / 0.5608 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1572, allocations: 330.7 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.1573, allocations: 23.98 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.1573, allocations: 33.7 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1575, allocations: 57.69 kB / 0.5612 GB, free: 244 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1575, allocations: 8 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1576, allocations: 105.5 kB / 0.5614 GB, free: 124 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1577, allocations: 4 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1577, allocations: 4 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1577, allocations: 0 / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.1578, allocations: 15.98 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1578, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.1578, allocations: 7.938 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1578, allocations: 8 kB / 0.5614 GB, free: 84 kB / 414.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.0001266/0.158, allocations: 131.2 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.158, allocations: 7.953 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.158, allocations: 13.56 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.158, allocations: 0 / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.158, allocations: 7.984 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.158, allocations: 0 / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1585, allocations: 399.2 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1585, allocations: 4.031 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.1586, allocations: 8.375 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1586, allocations: 0 / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1586, allocations: 11.98 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1586, allocations: 7.938 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1586, allocations: 0 / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1588, allocations: 196.3 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.1589, allocations: 93.02 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1589, allocations: 8 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.159, allocations: 3.938 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.159, allocations: 7.984 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1591, allocations: 4 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1592, allocations: 136.9 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1592, allocations: 192 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1594, allocations: 27.94 kB / 0.5624 GB, free: 14.93 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.002235/0.1617, allocations: 1.098 MB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.1619, allocations: 55.86 kB / 0.5635 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1619, allocations: 0 / 0.5635 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.162, allocations: 27.92 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1623, allocations: 27.11 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.1642, allocations: 1.641 MB / 0.5652 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1647, allocations: 0.7041 MB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.1647, allocations: 20.86 kB / 0.5659 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.1648, allocations: 31.42 kB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1648, allocations: 7.938 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02708/0.1919, allocations: 3.415 MB / 0.5693 GB, free: 7.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.226, allocations: 17.05 kB / 0.5693 GB, free: 7.973 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.393439986743033]