Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001101/0.001101, 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.001244/0.001244, 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.879/0.879, allocations: 177 MB / 204.1 MB, free: 5.75 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.2297/0.2297, allocations: 34.25 MB / 294.8 MB, free: 0.6719 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.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.922e-05, allocations: 5.234 kB / 442.3 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.1515/0.1516, allocations: 1.702 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.153, allocations: 1.672 MB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.1531, allocations: 2.688 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1533, allocations: 43.25 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.1536, allocations: 97.73 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.1537, allocations: 82.78 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1538, allocations: 104.8 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.1539, allocations: 14.19 kB / 446 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.154, allocations: 60.69 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.1541, allocations: 30.14 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1541, allocations: 12.22 kB / 446.1 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1542, allocations: 103.4 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.1543, allocations: 21.02 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.1543, allocations: 23.31 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1545, allocations: 179.8 kB / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1545, allocations: 0.7188 kB / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1545, allocations: 0 / 446.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1545, allocations: 5.062 kB / 446.4 MB, free: 42.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003685/0.1549, allocations: 351.8 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1549, allocations: 10.19 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.265e-05/0.1549, allocations: 34.31 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.155, allocations: 14.91 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1552, allocations: 152.2 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1552, allocations: 384 / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.1552, allocations: 3.344 kB / 446.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1553, allocations: 109.6 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1553, allocations: 0 / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1553, allocations: 2.969 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1553, allocations: 3.234 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.1554, allocations: 20.19 kB / 447.1 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.1556, allocations: 251.8 kB / 447.3 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.1557, allocations: 63.73 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.1557, allocations: 24.44 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1557, allocations: 3.469 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.907e-05/0.1558, allocations: 69.86 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.1558, allocations: 0 / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003584/0.1562, allocations: 174.5 kB / 447.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.1562, allocations: 84.11 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.1563, allocations: 168 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.1563, allocations: 29.7 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.1564, allocations: 101 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1564, allocations: 22.88 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.1564, allocations: 26.86 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.49e-05/0.1564, allocations: 327.4 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.1565, allocations: 19.08 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.1565, allocations: 73.66 kB / 448.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.1566, allocations: 60.12 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1566, allocations: 4.031 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.981e-05/0.1567, allocations: 105.3 kB / 448.6 MB, free: 40.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1567, allocations: 5.938 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1567, allocations: 0 / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1567, allocations: 2.5 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.1567, allocations: 16.97 kB / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1567, allocations: 0 / 448.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.1568, allocations: 9.438 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1568, allocations: 5.156 kB / 448.7 MB, free: 40.57 MB / 410.7 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 4.659e-05/0.1568, allocations: 129.3 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.1568, allocations: 12.84 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.157, allocations: 118.1 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.157, allocations: 3 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.157, allocations: 3.188 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.157, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.1572, allocations: 375 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1572, allocations: 2.906 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.1572, allocations: 8.75 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1572, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1572, allocations: 6.844 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1572, allocations: 3.328 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1573, allocations: 7.875 kB / 449.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1574, allocations: 205.4 kB / 449.5 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.1574, allocations: 16.72 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1574, allocations: 0 / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.1574, allocations: 2.75 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.1574, allocations: 14.09 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1575, allocations: 8.891 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.161e-05/0.1575, allocations: 129.4 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1575, allocations: 4 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.1577, allocations: 50.77 kB / 449.8 MB, free: 39.75 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: 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 (9): * Single equations (assignments): 7 * 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.0009739/0.1587, allocations: 1.228 MB / 451 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.1588, allocations: 67.61 kB / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1588, allocations: 0 / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.1588, allocations: 28.7 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1591, allocations: 37.12 kB / 451.1 MB, free: 38.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.16, allocations: 1.601 MB / 452.7 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.169e-05/0.16, allocations: 93.55 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.909e-05/0.1601, allocations: 17.06 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1601, allocations: 44.7 kB / 452.9 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1601, allocations: 0 / 452.9 MB, free: 37.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.1768, allocations: 4.899 MB / 457.8 MB, free: 35.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.859, allocations: 8.812 kB / 457.8 MB, free: 35.86 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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: 8.77562087122351]