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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001193/0.001193, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2733/0.2733, allocations: 46.12 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 72.62 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1479, allocations: 62.44 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003979/0.1519, allocations: 1.797 MB / 481.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1545, allocations: 1.596 MB / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.1546, allocations: 0 / 483 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.155, allocations: 27.84 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.1555, allocations: 91.73 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1558, allocations: 67.81 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.1561, allocations: 103.7 kB / 483.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1562, allocations: 12 kB / 483.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1564, allocations: 47.77 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1566, allocations: 51.7 kB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1566, allocations: 4 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.1569, allocations: 103.9 kB / 483.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.157, allocations: 19.92 kB / 483.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.1571, allocations: 39.73 kB / 483.6 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1575, allocations: 167.8 kB / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1575, allocations: 0 / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1575, allocations: 0 / 483.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1575, allocations: 0 / 483.7 MB, free: 1.387 MB / 350.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.0007616/0.1583, allocations: 429.2 kB / 484.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.1583, allocations: 12.03 kB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.1584, allocations: 30.75 kB / 484.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.1585, allocations: 12.83 kB / 484.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.1588, allocations: 220.3 kB / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1588, allocations: 0 / 484.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1589, allocations: 8 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1591, allocations: 63.39 kB / 484.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.1591, allocations: 4 kB / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1591, allocations: 0 / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1591, allocations: 0 / 484.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.1592, allocations: 19.98 kB / 484.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.1597, allocations: 292.8 kB / 484.8 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1599, allocations: 54.69 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.16, allocations: 20.84 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.16, allocations: 0 / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.1603, allocations: 67.5 kB / 484.9 MB, free: 16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1604, allocations: 7.938 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000616/0.161, allocations: 173.5 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.1611, allocations: 85.05 kB / 485.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1613, allocations: 166.4 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1613, allocations: 25.7 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.1614, allocations: 104.1 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1614, allocations: 23.66 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1615, allocations: 25.7 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1616, allocations: 326.8 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.1617, allocations: 19.83 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.1618, allocations: 38.56 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1619, allocations: 73.73 kB / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1619, allocations: 0 / 486 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.1622, allocations: 97.64 kB / 486.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1622, allocations: 6.812 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1622, allocations: 7.984 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1622, allocations: 0 / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.782e-05/0.1623, allocations: 23.88 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1623, allocations: 0 / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/0.1624, allocations: 4 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.1624, allocations: 8.031 kB / 486.1 MB, free: 14.73 MB / 366.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.00011/0.1625, allocations: 120.5 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1626, allocations: 15.81 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.1626, allocations: 16.72 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1627, allocations: 7.922 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1627, allocations: 3.984 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1627, allocations: 0 / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.1632, allocations: 391.3 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.1633, allocations: 7.938 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.1633, allocations: 4 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1633, allocations: 4 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1633, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1633, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1633, allocations: 7.938 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1636, allocations: 208.3 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.1637, allocations: 84.95 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.1637, allocations: 4 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.1638, allocations: 4 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1639, allocations: 7.984 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1639, allocations: 4.188 kB / 487 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1641, allocations: 126.3 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1641, allocations: 3.938 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.1644, allocations: 51.92 kB / 487.2 MB, free: 13.57 MB / 366.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.001784/0.1662, allocations: 1.183 MB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.1664, allocations: 63.91 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.1665, allocations: 0 / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.723e-05/0.1665, allocations: 31.86 kB / 488.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.1669, allocations: 27.98 kB / 488.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.169, allocations: 1.597 MB / 490.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.1694, allocations: 0.6973 MB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.249e-05/0.1695, allocations: 21.17 kB / 490.8 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1696, allocations: 39.41 kB / 490.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1696, allocations: 0 / 490.8 MB, free: 9.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.1883, allocations: 3.856 MB / 494.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/0.1886, allocations: 237.7 kB / 494.9 MB, free: 5.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.201, allocations: 4 kB / 494.9 MB, free: 5.961 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches