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.001307/0.001307, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 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.001496/0.001496, allocations: 160.3 kB / 24.49 MB, free: 3.453 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.535/1.535, allocations: 177.1 MB / 204.7 MB, free: 8.984 MB / 190.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.002001/0.002001, allocations: 65.77 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 53.39 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003673/0.1357, allocations: 1.584 MB / 380.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1372, allocations: 0.5142 MB / 381 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1373, allocations: 7.938 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.897e-05/0.1373, allocations: 3.938 kB / 381 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1375, allocations: 15.86 kB / 381 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1379, allocations: 59.81 kB / 381.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1381, allocations: 43.86 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1382, allocations: 12.17 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1384, allocations: 35.78 kB / 381.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.1384, allocations: 23.86 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1385, allocations: 4 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.1385, allocations: 4 kB / 381.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1386, allocations: 15.92 kB / 381.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.1386, allocations: 19.86 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1388, allocations: 71.61 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1388, allocations: 0 / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1388, allocations: 0 / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1388, allocations: 0 / 381.3 MB, free: 13.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005356/0.1394, allocations: 302 kB / 381.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1394, allocations: 11.98 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.1396, allocations: 20.88 kB / 381.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1399, allocations: 142.9 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1399, allocations: 12.31 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1399, allocations: 3.938 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1402, allocations: 113 kB / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1402, allocations: 0 / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1402, allocations: 0 / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1402, allocations: 0 / 381.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.1403, allocations: 19.92 kB / 381.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1406, allocations: 213.4 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.1407, allocations: 45.22 kB / 382.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1408, allocations: 25.64 kB / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1408, allocations: 0 / 382.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.1409, allocations: 38.56 kB / 382.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.1409, allocations: 0 / 382.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.1411, allocations: 69.56 kB / 382.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.1412, allocations: 77.36 kB / 382.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1413, allocations: 152.6 kB / 382.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1414, allocations: 25.7 kB / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.121e-05/0.1414, allocations: 92.09 kB / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.1414, allocations: 0 / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1415, allocations: 21.7 kB / 382.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1417, allocations: 314.8 kB / 383 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.1417, allocations: 11.98 kB / 383 MB, free: 11.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.1418, allocations: 17.72 kB / 383 MB, free: 11.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.1419, allocations: 37.7 kB / 383 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1419, allocations: 0 / 383 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000138/0.142, allocations: 57.58 kB / 383.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.142, allocations: 7.984 kB / 383.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.142, allocations: 8 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1421, allocations: 0 / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.1421, allocations: 4 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1421, allocations: 0 / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.1422, allocations: 12 kB / 383.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1422, allocations: 3.938 kB / 383.1 MB, free: 11.05 MB / 350.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.0001038/0.1423, allocations: 117.8 kB / 383.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.1424, allocations: 41.64 kB / 383.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.1424, allocations: 15.8 kB / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1424, allocations: 3.938 kB / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1424, allocations: 0 / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1424, allocations: 0 / 383.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1426, allocations: 117.2 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1426, allocations: 3.938 kB / 383.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.1426, allocations: 12.02 kB / 383.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1426, allocations: 0 / 383.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1426, allocations: 8 kB / 383.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1426, allocations: 0 / 383.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1426, allocations: 0 / 383.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1429, allocations: 160.3 kB / 383.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.1429, allocations: 11.95 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1429, allocations: 4 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.143, allocations: 3.984 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.143, allocations: 4.031 kB / 383.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.143, allocations: 7.938 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1431, allocations: 118.3 kB / 383.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1431, allocations: 4 kB / 383.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000221/0.1434, allocations: 8 kB / 383.8 MB, free: 10.36 MB / 350.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.000108/0.1435, allocations: 91.25 kB / 383.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1436, allocations: 23.98 kB / 383.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1436, allocations: 4.125 kB / 383.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.727e-05/0.1436, allocations: 7.984 kB / 383.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.144, allocations: 15.97 kB / 383.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.1444, allocations: 167.6 kB / 384.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.275e-05/0.1444, allocations: 71.33 kB / 384.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.1445, allocations: 7.984 kB / 384.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1445, allocations: 16.66 kB / 384.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1445, allocations: 0 / 384.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Templates: time 0.003342/0.1479, allocations: 0.63 MB / 384.8 MB, free: 9.293 MB / 350.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 -s ida -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: 4.464530515018851]