Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00189/0.00189, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.221/2.221, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.363/0.363, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 75.84 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1771, allocations: 62.44 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.004929/0.1821, allocations: 1.793 MB / 481.7 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1849, allocations: 1.017 MB / 482.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1851, allocations: 4 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.1855, allocations: 47.88 kB / 482.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003816/0.1859, allocations: 87.61 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.1862, allocations: 63.88 kB / 482.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.1865, allocations: 95.75 kB / 483 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1866, allocations: 4 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1868, allocations: 51.72 kB / 483.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1869, allocations: 39.78 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.1869, allocations: 4 kB / 483.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1871, allocations: 43.97 kB / 483.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.1872, allocations: 19.92 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.1873, allocations: 47.61 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.1875, allocations: 92.09 kB / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1875, allocations: 0 / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1875, allocations: 0 / 483.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1876, allocations: 0 / 483.3 MB, free: 2.281 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.0007635/0.1883, allocations: 434.8 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1884, allocations: 8.875 kB / 483.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.1885, allocations: 12.84 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1888, allocations: 216.8 kB / 484 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1888, allocations: 4.375 kB / 484 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.1889, allocations: 8.125 kB / 484 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1891, allocations: 57.61 kB / 484.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1892, allocations: 0 / 484.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1892, allocations: 0 / 484.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1892, allocations: 4 kB / 484.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1893, allocations: 19.98 kB / 484.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.1898, allocations: 296.8 kB / 484.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1901, allocations: 54.62 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1903, allocations: 24.84 kB / 484.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.985e-05/0.2064, allocations: 4 kB / 484.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.2068, allocations: 71.3 kB / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.897e-06/0.2069, allocations: 0 / 484.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009457/0.2078, allocations: 185.1 kB / 484.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.2079, allocations: 51.41 kB / 484.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.2083, allocations: 235 kB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2083, allocations: 29.7 kB / 485 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.2085, allocations: 108.1 kB / 485.1 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.2085, allocations: 27.64 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.2086, allocations: 29.66 kB / 485.2 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.2088, allocations: 326.8 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2089, allocations: 19.98 kB / 485.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.2091, allocations: 41.64 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.2093, allocations: 57.7 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2093, allocations: 0 / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003345/0.2097, allocations: 101.5 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.2097, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2097, allocations: 4 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2098, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.2099, allocations: 15.98 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2099, allocations: 3.938 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.584e-05/0.21, allocations: 15.88 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2101, allocations: 4 kB / 485.8 MB, free: 15.62 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.0001565/0.2102, allocations: 140.8 kB / 485.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.2103, allocations: 7.906 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.2104, allocations: 21.39 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.2104, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2104, allocations: 0 / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2104, allocations: 3.938 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/0.2112, allocations: 411.2 kB / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2112, allocations: 0 / 486.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.2113, allocations: 8 kB / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2113, allocations: 0 / 486.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2113, allocations: 7.938 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2114, allocations: 384 / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2114, allocations: 240 / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003914/0.2118, allocations: 216.2 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.2119, allocations: 92.92 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.2119, allocations: 7.938 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.2121, allocations: 4 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.2121, allocations: 7.984 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.2122, allocations: 4 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.2124, allocations: 176.4 kB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2125, allocations: 4 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.213, allocations: 28 kB / 486.9 MB, free: 14.39 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.001792/0.2148, allocations: 447.1 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.215, allocations: 67.91 kB / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2151, allocations: 0 / 487.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2152, allocations: 23.98 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.2158, allocations: 30.8 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007751/0.2166, allocations: 322.8 kB / 487.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.217, allocations: 0.7121 MB / 488.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.217, allocations: 19.42 kB / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.217, allocations: 0 / 488.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.02233/0.2394, allocations: 2.015 MB / 490.5 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches