Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.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) 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(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002036/0.002035, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002245, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.741/2.741, allocations: 227.4 MB / 247.1 MB, free: 9.121 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002711, allocations: 64.52 kB / 307.1 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2088, allocations: 50.53 MB / 357.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.006045/0.215, allocations: 1.629 MB / 359.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.217, allocations: 0.5455 MB / 359.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.2173, allocations: 3.938 kB / 359.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2174, allocations: 4 kB / 359.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.2177, allocations: 7.922 kB / 359.8 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.2183, allocations: 59.81 kB / 359.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2186, allocations: 47.8 kB / 359.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.2187, allocations: 20.17 kB / 360 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.219, allocations: 23.92 kB / 360 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.2191, allocations: 27.84 kB / 360 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2191, allocations: 0 / 360 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.2192, allocations: 12 kB / 360 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.867e-05/0.2193, allocations: 15.92 kB / 360 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.2194, allocations: 23.81 kB / 360.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.2196, allocations: 47.86 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2197, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.2197, allocations: 4 kB / 360.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.2197, allocations: 0 / 360.1 MB, free: 11.73 MB / 302.1 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.0008562/0.2206, allocations: 387.3 kB / 360.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.2207, allocations: 8.031 kB / 360.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.2209, allocations: 16.83 kB / 360.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.2214, allocations: 197.7 kB / 360.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2214, allocations: 4.375 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.2214, allocations: 3.938 kB / 360.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005341/0.222, allocations: 105 kB / 360.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.222, allocations: 0 / 360.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.2221, allocations: 8 kB / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2221, allocations: 0 / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.2223, allocations: 19.86 kB / 360.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007123/0.223, allocations: 265.8 kB / 361.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.2232, allocations: 45.16 kB / 361.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.2233, allocations: 25.7 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.2234, allocations: 4 kB / 361.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.2235, allocations: 34.56 kB / 361.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.2235, allocations: 0 / 361.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005148/0.224, allocations: 69.52 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.2241, allocations: 77.11 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2244, allocations: 160 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2245, allocations: 25.7 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2246, allocations: 92.08 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.2246, allocations: 3.906 kB / 361.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.2247, allocations: 21.7 kB / 361.6 MB, free: 9.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.225, allocations: 310.8 kB / 361.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-05/0.2251, allocations: 15.92 kB / 362 MB, free: 9.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.2252, allocations: 21.72 kB / 362 MB, free: 9.594 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2254, allocations: 25.7 kB / 362 MB, free: 9.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.2255, allocations: 4 kB / 362 MB, free: 9.559 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002622/0.2257, allocations: 57.53 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.2258, allocations: 7.984 kB / 362.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.2258, allocations: 4.125 kB / 362.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.2259, allocations: 0 / 362.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.226, allocations: 8 kB / 362.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.2261, allocations: 0 / 362.1 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/0.2261, allocations: 3.938 kB / 362.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2262, allocations: 4 kB / 362.1 MB, free: 9.469 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0002051/0.2264, allocations: 121.8 kB / 362.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2265, allocations: 41.55 kB / 362.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.2266, allocations: 15.89 kB / 362.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.2267, allocations: 8 kB / 362.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2267, allocations: 0 / 362.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2267, allocations: 3.938 kB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.2271, allocations: 165.7 kB / 362.4 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.2271, allocations: 4 kB / 362.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.2272, allocations: 4 kB / 362.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.2272, allocations: 3.938 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2272, allocations: 0 / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/0.2273, allocations: 3.984 kB / 362.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.2273, allocations: 4 kB / 362.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.2277, allocations: 168.2 kB / 362.6 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.2278, allocations: 89 kB / 362.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2279, allocations: 4 kB / 362.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.228, allocations: 0 / 362.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.2281, allocations: 7.922 kB / 362.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2281, allocations: 11.97 kB / 362.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.2282, allocations: 114.6 kB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2283, allocations: 0 / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.2287, allocations: 8 kB / 362.9 MB, free: 8.602 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002046/0.2289, allocations: 91.25 kB / 362.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.2292, allocations: 23.98 kB / 363 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.776e-05/0.2292, allocations: 128 / 363 MB, free: 8.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.2293, allocations: 11.94 kB / 363 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007694/0.2301, allocations: 22.59 kB / 363 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.2308, allocations: 201.3 kB / 363.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.2313, allocations: 0.6924 MB / 363.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.2314, allocations: 19.42 kB / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of SimCode: time 1.103e-06/0.2314, allocations: 0 / 363.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of Templates: time 0.004412/0.2358, allocations: 0.7928 MB / 364.7 MB, free: 6.695 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches