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.00102/0.00102, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001222/0.001222, allocations: 162 kB / 25.61 MB, free: 8.871 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.889/0.889, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.333e-06/1.333e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.643e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002907/0.002934, allocations: 1.619 MB / 275.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.003944, allocations: 0.5353 MB / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.00404, allocations: 0 / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.962e-05/0.00411, allocations: 8.781 kB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.004287, allocations: 11.88 kB / 276.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.004629, allocations: 68.3 kB / 276.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004749, allocations: 52.44 kB / 276.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.31e-05/0.004842, allocations: 8.188 kB / 276.4 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.004995, allocations: 38.36 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.005048, allocations: 11.98 kB / 276.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.005065, allocations: 4 kB / 276.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.166e-05/0.005107, allocations: 4 kB / 276.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.005151, allocations: 15.92 kB / 276.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.005175, allocations: 15.92 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.005311, allocations: 49.45 kB / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.005315, allocations: 0 / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.005316, allocations: 0 / 276.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00532, allocations: 4 kB / 276.5 MB, free: 1.852 MB / 250.7 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.0004302/0.005751, allocations: 416.2 kB / 276.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.005789, allocations: 12.66 kB / 277 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.005932, allocations: 17.44 kB / 277 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.006121, allocations: 149 kB / 277.1 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.006136, allocations: 4.375 kB / 277.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.006145, allocations: 4.312 kB / 277.1 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.006351, allocations: 121.4 kB / 277.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.00636, allocations: 0 / 277.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.006367, allocations: 0 / 277.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.006374, allocations: 4 kB / 277.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.006394, allocations: 7.984 kB / 277.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.006645, allocations: 244.1 kB / 277.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.683e-05/0.006712, allocations: 58.11 kB / 277.6 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.006734, allocations: 19.36 kB / 277.6 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.006749, allocations: 8 kB / 277.6 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.006774, allocations: 41.33 kB / 277.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.006775, allocations: 0 / 277.6 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000136/0.006911, allocations: 45.84 kB / 277.7 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.006956, allocations: 85.09 kB / 277.8 MB, free: 468 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.007071, allocations: 200.9 kB / 277.9 MB, free: 252 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.007081, allocations: 25.7 kB / 278 MB, free: 220 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.007144, allocations: 138.9 kB / 278.1 MB, free: 76 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.00716, allocations: 11.88 kB / 278.1 MB, free: 64 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.007192, allocations: 19.38 kB / 278.1 MB, free: 36 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.007342, allocations: 492.1 kB / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.007353, allocations: 0 / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.007363, allocations: 4 kB / 278.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.007392, allocations: 15.73 kB / 278.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.007396, allocations: 7.938 kB / 278.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.103e-05/0.007467, allocations: 41.59 kB / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007484, allocations: 4 kB / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.007491, allocations: 0 / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.0075, allocations: 0 / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.131e-05/0.007562, allocations: 8 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.007565, allocations: 3.984 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.007584, allocations: 0 / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.007589, allocations: 4 kB / 278.7 MB, free: 15.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.964e-05/0.007679, allocations: 164.5 kB / 278.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.007731, allocations: 37.66 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/0.00776, allocations: 15.8 kB / 278.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.007762, allocations: 0 / 278.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.007763, allocations: 0 / 278.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007766, allocations: 3.938 kB / 278.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.007891, allocations: 101.2 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007893, allocations: 0 / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.007924, allocations: 4 kB / 279 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.00793, allocations: 7.938 kB / 279 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.007934, allocations: 4.031 kB / 279 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007936, allocations: 0 / 279 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007937, allocations: 0 / 279 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.00805, allocations: 203.6 kB / 279.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.008082, allocations: 15.88 kB / 279.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.008093, allocations: 0 / 279.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.152e-05/0.008145, allocations: 4 kB / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.008168, allocations: 0 / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.008172, allocations: 3.938 kB / 279.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.008235, allocations: 154.1 kB / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008235, allocations: 0 / 279.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.008468, allocations: 11.97 kB / 279.4 MB, free: 14.67 MB / 266.7 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 8.656e-05/0.008555, allocations: 95.19 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.88e-05/0.008623, allocations: 11.69 kB / 279.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.008625, allocations: 4 kB / 279.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.246e-05/0.008638, allocations: 7.688 kB / 279.5 MB, free: 14.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.008873, allocations: 31.97 kB / 279.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.009241, allocations: 165.7 kB / 279.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.495e-05/0.009276, allocations: 67.2 kB / 279.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.009299, allocations: 3.906 kB / 279.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.009361, allocations: 82.19 kB / 279.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.009362, allocations: 0 / 279.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of Templates: time 0.002814/0.01218, allocations: 0.696 MB / 280.6 MB, free: 13.46 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6664833929389715]