Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.0007702/0.0007702, 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.0007958/0.0007958, allocations: 156.9 kB / 23.94 MB, free: 0.6172 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.8902/0.8902, allocations: 177 MB / 204.1 MB, free: 5.738 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.2359/0.2359, allocations: 34.24 MB / 294.8 MB, free: 0.6875 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.548e-05, allocations: 2.281 kB / 442.3 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.1713/0.1713, allocations: 1.726 MB / 444 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1724, allocations: 0.9741 MB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.1725, allocations: 2.812 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.1728, allocations: 106.2 kB / 445.1 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1731, allocations: 138.4 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1732, allocations: 73.75 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1734, allocations: 144.8 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.1735, allocations: 7.094 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.1736, allocations: 72.28 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.796e-05/0.1737, allocations: 74.22 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1737, allocations: 3.469 kB / 445.6 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.049e-05/0.1738, allocations: 59.27 kB / 445.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.1738, allocations: 36.28 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1738, allocations: 26.66 kB / 445.7 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.174, allocations: 159.7 kB / 445.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.174, allocations: 0 / 445.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.174, allocations: 3.969 kB / 445.8 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.174, allocations: 0 / 445.8 MB, free: 42.78 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004086/0.1744, allocations: 382.9 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1745, allocations: 11.41 kB / 446.2 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.402e-05/0.1745, allocations: 30.75 kB / 446.3 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.1745, allocations: 20.77 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1748, allocations: 162.8 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1748, allocations: 7.719 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1748, allocations: 4.188 kB / 446.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1749, allocations: 72.02 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1749, allocations: 2.125 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1749, allocations: 4.125 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1749, allocations: 3.938 kB / 446.5 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.175, allocations: 39.42 kB / 446.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.1753, allocations: 284.5 kB / 446.8 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1755, allocations: 75.88 kB / 446.9 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.1755, allocations: 33.25 kB / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1755, allocations: 0 / 446.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.1757, allocations: 79.92 kB / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1757, allocations: 0 / 447 MB, free: 41.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005473/0.1762, allocations: 296.3 kB / 447.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.1762, allocations: 58 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.1764, allocations: 261.4 kB / 447.6 MB, free: 41.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.1764, allocations: 25.7 kB / 447.7 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.1764, allocations: 117.5 kB / 447.8 MB, free: 41.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1764, allocations: 42.7 kB / 447.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.1765, allocations: 31.98 kB / 447.8 MB, free: 41.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.1765, allocations: 328 kB / 448.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.1765, allocations: 37.75 kB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.1766, allocations: 54.92 kB / 448.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.865e-05/0.1767, allocations: 100.2 kB / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1767, allocations: 0 / 448.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001333/0.1768, allocations: 146.3 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1768, allocations: 2.906 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1768, allocations: 2.938 kB / 448.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1769, allocations: 3.938 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.1769, allocations: 26.95 kB / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1769, allocations: 0 / 448.5 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.1769, allocations: 10.84 kB / 448.5 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1769, allocations: 2.938 kB / 448.5 MB, free: 40.98 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 (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 5.851e-05/0.177, allocations: 141.4 kB / 448.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.177, allocations: 24.52 kB / 448.7 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1772, allocations: 187.5 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1772, allocations: 2.406 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1772, allocations: 0 / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1772, allocations: 2.625 kB / 448.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.1776, allocations: 462.6 kB / 449.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1776, allocations: 0 / 449.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.1776, allocations: 21.55 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1776, allocations: 2.531 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1776, allocations: 6.5 kB / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1776, allocations: 6.375 kB / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1776, allocations: 0 / 449.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1778, allocations: 260.8 kB / 449.6 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.1778, allocations: 21.41 kB / 449.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1778, allocations: 2.812 kB / 449.7 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.1778, allocations: 17.78 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1779, allocations: 8.906 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1779, allocations: 2.844 kB / 449.7 MB, free: 40.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.34e-05/0.178, allocations: 202.9 kB / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.178, allocations: 0 / 449.9 MB, free: 40.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.1781, allocations: 37.14 kB / 449.9 MB, free: 40.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001039/0.1792, allocations: 1.233 MB / 451.2 MB, free: 39.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1793, allocations: 103.4 kB / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1793, allocations: 0 / 451.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.1794, allocations: 49.83 kB / 451.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1796, allocations: 30.16 kB / 451.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1808, allocations: 1.971 MB / 453.3 MB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.519e-05/0.1809, allocations: 119.4 kB / 453.4 MB, free: 37.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.181, allocations: 22.33 kB / 453.4 MB, free: 37.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.181, allocations: 54.25 kB / 453.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.181, allocations: 0 / 453.5 MB, free: 37.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1983, allocations: 5.082 MB / 458.6 MB, free: 36.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.916, allocations: 7.266 kB / 458.6 MB, free: 36.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.846581894904375]