Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.0007304/0.0007304, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008803/0.0008803, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8837/0.8837, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.232/0.232, allocations: 34.24 MB / 294.8 MB, free: 0.6953 MB / 266.7 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.171e-05, allocations: 2.281 kB / 442.2 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.1503/0.1503, allocations: 1.782 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1513, allocations: 1.05 MB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.1514, allocations: 0 / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1517, allocations: 313.3 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.152, allocations: 261 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.1521, allocations: 113.5 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1523, allocations: 266.5 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.1524, allocations: 7.406 kB / 446 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1525, allocations: 161.1 kB / 446.2 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1526, allocations: 204.4 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1526, allocations: 7.312 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.014e-05/0.1527, allocations: 45.86 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.1528, allocations: 144.7 kB / 446.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.1528, allocations: 69.52 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1531, allocations: 368.5 kB / 447 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1531, allocations: 0 / 447 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1531, allocations: 0 / 447 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1531, allocations: 0 / 447 MB, free: 42.64 MB / 410.7 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.0005074/0.1536, allocations: 0.6819 MB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1536, allocations: 12.08 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.176e-05/0.1536, allocations: 33.59 kB / 447.7 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.1537, allocations: 49.77 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.154, allocations: 391.8 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.154, allocations: 4.219 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.154, allocations: 7.25 kB / 448.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.1541, allocations: 85.95 kB / 448.2 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1542, allocations: 7.031 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1542, allocations: 8.125 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1542, allocations: 0 / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.313e-05/0.1542, allocations: 36.75 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.1544, allocations: 325.1 kB / 448.6 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1546, allocations: 108.7 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1546, allocations: 45.16 kB / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1546, allocations: 0 / 448.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/0.1548, allocations: 119.6 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.52e-07/0.1548, allocations: 0 / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002722/0.155, allocations: 211.6 kB / 449.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.1551, allocations: 80.05 kB / 449.2 MB, free: 41.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005673/0.1556, allocations: 1.062 MB / 450.2 MB, free: 40.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.1556, allocations: 31.48 kB / 450.2 MB, free: 40.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.1557, allocations: 237.3 kB / 450.5 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1557, allocations: 36.27 kB / 450.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.1558, allocations: 32.89 kB / 450.5 MB, free: 40.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.1558, allocations: 367.3 kB / 450.9 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-05/0.1559, allocations: 25.75 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.1559, allocations: 61.98 kB / 451 MB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.156, allocations: 90.78 kB / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.156, allocations: 0 / 451.1 MB, free: 40.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001445/0.1562, allocations: 188.4 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1562, allocations: 2.844 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1562, allocations: 6.812 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1562, allocations: 0 / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.1562, allocations: 23.23 kB / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1562, allocations: 0 / 451.3 MB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.393e-05/0.1563, allocations: 16.97 kB / 451.3 MB, free: 40 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1563, allocations: 2.906 kB / 451.3 MB, free: 40 MB / 410.7 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.000113/0.1564, allocations: 231.8 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1564, allocations: 66.5 kB / 451.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.1566, allocations: 207.4 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1566, allocations: 0 / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1566, allocations: 0 / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1566, allocations: 9.406 kB / 451.8 MB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1568, allocations: 295.2 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1568, allocations: 2.812 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.249e-05/0.1568, allocations: 8.094 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.1568, allocations: 0 / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1568, allocations: 9.75 kB / 452.1 MB, free: 39.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1568, allocations: 4 kB / 452.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1568, allocations: 2.781 kB / 452.1 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.157, allocations: 219.7 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.157, allocations: 66.61 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1571, allocations: 11.12 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.1571, allocations: 3.031 kB / 452.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.1571, allocations: 15.8 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1571, allocations: 5.594 kB / 452.4 MB, free: 39.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004095/0.1576, allocations: 0.7885 MB / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 453.2 MB, free: 39.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.1577, allocations: 53.84 kB / 453.3 MB, free: 39.05 MB / 410.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008055/0.1585, allocations: 1.086 MB / 454.4 MB, free: 38.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.1587, allocations: 83.52 kB / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.1587, allocations: 0 / 454.5 MB, free: 38.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.1587, allocations: 41.56 kB / 454.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.159, allocations: 69.27 kB / 454.6 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.1619, allocations: 4.636 MB / 459.2 MB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.162, allocations: 243.9 kB / 459.4 MB, free: 36.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.008e-05/0.1621, allocations: 58.61 kB / 459.5 MB, free: 36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.1622, allocations: 151.7 kB / 459.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1622, allocations: 3.938 kB / 459.6 MB, free: 35.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.179, allocations: 10.13 MB / 469.8 MB, free: 33.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/7.064, allocations: 6.656 kB / 469.8 MB, free: 33.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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: 9.0193074895069]