Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001302/0.001302, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.00136/0.00136, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2293/0.2293, allocations: 46.91 MB / 357.4 MB, free: 10.46 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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 83.86 kB / 0.4913 GB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1404, allocations: 65.99 MB / 0.5558 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003581/0.144, allocations: 1.833 MB / 0.5575 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.146, allocations: 1.109 MB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.1461, allocations: 7.938 kB / 0.5586 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005736/0.1467, allocations: 307.3 kB / 0.5589 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004949/0.1472, allocations: 255.2 kB / 0.5592 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.1474, allocations: 107.6 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1478, allocations: 263.3 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.598e-05/0.1478, allocations: 13.69 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.148, allocations: 131.5 kB / 0.5597 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1483, allocations: 223.5 kB / 0.5599 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1483, allocations: 8 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1484, allocations: 43.98 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1486, allocations: 139.5 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.1487, allocations: 146.8 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.1492, allocations: 382.2 kB / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1492, allocations: 0 / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1492, allocations: 0 / 0.5606 GB, free: 1.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1492, allocations: 0 / 0.5606 GB, free: 1.172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001107/0.1503, allocations: 0.7616 MB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1504, allocations: 12.03 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1504, allocations: 34.73 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1505, allocations: 56.55 kB / 0.5614 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.1512, allocations: 464.3 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1512, allocations: 4.312 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.1512, allocations: 4.375 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1515, allocations: 95.42 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1515, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1515, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1515, allocations: 4 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1516, allocations: 31.97 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.152, allocations: 378.3 kB / 0.5623 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.1523, allocations: 101.2 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.879e-05/0.1524, allocations: 37.7 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1524, allocations: 3.984 kB / 0.5625 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.1527, allocations: 120.9 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1527, allocations: 0 / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000499/0.1532, allocations: 197.7 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1532, allocations: 77.11 kB / 0.5629 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1544, allocations: 1.054 MB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1545, allocations: 25.7 kB / 0.5639 GB, free: 13.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1547, allocations: 244.1 kB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.1547, allocations: 31.73 kB / 0.5642 GB, free: 13.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.1548, allocations: 25.72 kB / 0.5642 GB, free: 13.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.155, allocations: 370.8 kB / 0.5646 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.173e-05/0.155, allocations: 32.05 kB / 0.5646 GB, free: 12.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1551, allocations: 58.28 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1553, allocations: 87.36 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1553, allocations: 4 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003248/0.1557, allocations: 181.1 kB / 0.5649 GB, free: 12.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1557, allocations: 4 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1557, allocations: 4 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1557, allocations: 4.062 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1558, allocations: 23.98 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1558, allocations: 3.938 kB / 0.5649 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.917e-05/0.1559, allocations: 7.938 kB / 0.5649 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.1559, allocations: 7.984 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002413/0.1562, allocations: 221.7 kB / 0.5652 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.1563, allocations: 59.56 kB / 0.5652 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1564, allocations: 64.14 kB / 0.5653 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1564, allocations: 11.92 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1564, allocations: 0 / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1564, allocations: 0 / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.1568, allocations: 345.6 kB / 0.5656 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.1568, allocations: 7.938 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.1568, allocations: 8 kB / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1568, allocations: 0 / 0.5656 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1568, allocations: 3.984 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1568, allocations: 4 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1568, allocations: 0 / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1572, allocations: 209.5 kB / 0.5658 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.1574, allocations: 140.7 kB / 0.566 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.1574, allocations: 4 kB / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.041e-05/0.1575, allocations: 3.984 kB / 0.566 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.1576, allocations: 12 kB / 0.566 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.1576, allocations: 7.984 kB / 0.566 GB, free: 11.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008749/0.1584, allocations: 0.7916 MB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1584, allocations: 0 / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1587, allocations: 43.94 kB / 0.5668 GB, free: 10.37 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002103/0.1608, allocations: 1.053 MB / 0.5678 GB, free: 9.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1612, allocations: 71.91 kB / 0.5679 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1612, allocations: 0 / 0.5679 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1613, allocations: 43.84 kB / 0.568 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.1617, allocations: 73.06 kB / 0.568 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.1677, allocations: 4.578 MB / 0.5725 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/0.1682, allocations: 0.8466 MB / 0.5733 GB, free: 3.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.1683, allocations: 51.45 kB / 0.5734 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.1686, allocations: 147.4 kB / 0.5735 GB, free: 3.508 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1686, allocations: 4 kB / 0.5735 GB, free: 3.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.2034, allocations: 9.142 MB / 0.5824 GB, free: 10.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/8.94, allocations: 7.938 kB / 0.5825 GB, free: 10.4 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 12.218262759037316]