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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001402/0.001402, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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 1.501/1.501, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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=5019,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=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 63.91 kB / 379 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2395, allocations: 53.42 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002974/0.2424, allocations: 1.574 MB / 434 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2435, allocations: 0.5181 MB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.2436, allocations: 4 kB / 434.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.675e-05/0.2436, allocations: 3.938 kB / 434.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2437, allocations: 19.84 kB / 434.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.244, allocations: 55.83 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2442, allocations: 51.78 kB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.2442, allocations: 8.188 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.2444, allocations: 31.84 kB / 434.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.451e-05/0.2444, allocations: 27.86 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2444, allocations: 4 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.2445, allocations: 4 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.2445, allocations: 15.92 kB / 434.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.2445, allocations: 19.88 kB / 434.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2447, allocations: 62.34 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2447, allocations: 0 / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2447, allocations: 0 / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2447, allocations: 0 / 434.8 MB, free: 4.117 MB / 334.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.0004819/0.2452, allocations: 325.7 kB / 435.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2452, allocations: 15.98 kB / 435.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.2454, allocations: 16.89 kB / 435.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.2456, allocations: 142.3 kB / 435.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2456, allocations: 4.375 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.2456, allocations: 3.938 kB / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2459, allocations: 109 kB / 435.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.2459, allocations: 4 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.2459, allocations: 4 kB / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2459, allocations: 0 / 435.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.246, allocations: 19.92 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.2463, allocations: 209.4 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.115e-05/0.2464, allocations: 49.14 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.591e-05/0.2464, allocations: 13.78 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.2464, allocations: 4 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2465, allocations: 34.55 kB / 435.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2465, allocations: 4 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000232/0.2467, allocations: 69.58 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.743e-05/0.2467, allocations: 81.09 kB / 435.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2469, allocations: 141.8 kB / 436 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2469, allocations: 25.7 kB / 436 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.247, allocations: 100.1 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.247, allocations: 0 / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.247, allocations: 13.72 kB / 436.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2471, allocations: 327 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.2472, allocations: 15.92 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.023e-05/0.2472, allocations: 17.72 kB / 436.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.583e-05/0.2473, allocations: 29.7 kB / 436.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2473, allocations: 0 / 436.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.2474, allocations: 61.56 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2474, allocations: 12.12 kB / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2474, allocations: 0 / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2475, allocations: 0 / 436.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.2475, allocations: 4 kB / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2475, allocations: 0 / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.909e-05/0.2476, allocations: 7.984 kB / 436.6 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2476, allocations: 3.938 kB / 436.6 MB, free: 2.074 MB / 334.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 8.179e-05/0.2477, allocations: 113.8 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.2477, allocations: 45.58 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.2478, allocations: 11.84 kB / 436.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.2478, allocations: 7.984 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.2478, allocations: 0 / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2478, allocations: 7.938 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.2479, allocations: 121.2 kB / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2479, allocations: 0 / 436.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2479, allocations: 4 kB / 436.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.248, allocations: 4 kB / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.248, allocations: 0 / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.248, allocations: 0 / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.248, allocations: 0 / 436.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.2481, allocations: 172.2 kB / 437.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.2482, allocations: 19.94 kB / 437.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2482, allocations: 4 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.263e-05/0.2483, allocations: 0 / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.2483, allocations: 4 kB / 437.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.2483, allocations: 0 / 437.1 MB, free: 1.504 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.2484, allocations: 118.8 kB / 437.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2484, allocations: 0 / 437.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.2486, allocations: 4 kB / 437.2 MB, free: 1.387 MB / 334.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 9.583e-05/0.2487, allocations: 99.28 kB / 437.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2488, allocations: 23.92 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2488, allocations: 0 / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.2489, allocations: 15.92 kB / 437.4 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.2492, allocations: 20.02 kB / 437.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2495, allocations: 189.4 kB / 437.6 MB, free: 1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.227e-05/0.2496, allocations: 83.55 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.2496, allocations: 7.438 kB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2496, allocations: 0 / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Templates: time 0.002369/0.252, allocations: 0.7999 MB / 438.5 MB, free: 92 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.709770391695201]