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.0009617/0.0009617, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001048/0.001048, allocations: 164.9 kB / 24.91 MB, free: 8.754 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.9183/0.9183, allocations: 177 MB / 205.2 MB, free: 5.453 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.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.381e-05, allocations: 6.312 kB / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001866/0.00188, allocations: 1.629 MB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.002542, allocations: 0.5452 MB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.002615, allocations: 3.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.002658, allocations: 3.938 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.00279, allocations: 15.86 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.003031, allocations: 67.62 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.003124, allocations: 47.84 kB / 275.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.003195, allocations: 8.172 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.003298, allocations: 39.84 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.003347, allocations: 23.91 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003361, allocations: 4 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.788e-05/0.003399, allocations: 4 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.94e-05/0.003439, allocations: 15.92 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.81e-05/0.003457, allocations: 15.94 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.003562, allocations: 47.81 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003564, allocations: 0 / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003564, allocations: 0 / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.003567, allocations: 0 / 275.8 MB, free: 14.77 MB / 266.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.0002755/0.003843, allocations: 276.5 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.003874, allocations: 15.98 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.003977, allocations: 24.91 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.004113, allocations: 146.1 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.00412, allocations: 384 / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.004129, allocations: 8.375 kB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.004277, allocations: 110 kB / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004284, allocations: 0 / 276.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-06/0.004289, allocations: 4 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.004292, allocations: 0 / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.294e-05/0.004305, allocations: 7.938 kB / 276.4 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.004439, allocations: 145.2 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.622e-05/0.004475, allocations: 41.16 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.004488, allocations: 9.719 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.004499, allocations: 0 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.004515, allocations: 38.56 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.004516, allocations: 0 / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.459e-05/0.004601, allocations: 45.62 kB / 276.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.00464, allocations: 85.11 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.004708, allocations: 142 kB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.004718, allocations: 29.7 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.704e-05/0.004745, allocations: 80.14 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.159e-05/0.004757, allocations: 3.953 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.004777, allocations: 17.7 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.004845, allocations: 322.8 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.004854, allocations: 3.938 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.004864, allocations: 4.25 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.743e-05/0.004882, allocations: 8.859 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.004883, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.1e-05/0.004914, allocations: 37.62 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004925, allocations: 8 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004929, allocations: 0 / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.004938, allocations: 4 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.017e-05/0.004978, allocations: 4 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.004981, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.004993, allocations: 3.984 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.004998, allocations: 4.094 kB / 277.4 MB, free: 12.98 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 4.954e-05/0.005048, allocations: 120.5 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.005073, allocations: 33.64 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.005095, allocations: 15.8 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.005097, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.005098, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005101, allocations: 0 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.344e-05/0.005174, allocations: 73.88 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005175, allocations: 0 / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.005188, allocations: 4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005191, allocations: 11.97 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-06/0.005194, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005195, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.005196, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.221e-05/0.005258, allocations: 144.3 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.005279, allocations: 15.94 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-06/0.005288, allocations: 3.938 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/0.005316, allocations: 4 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.005334, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.005336, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.253e-05/0.005359, allocations: 36.84 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005359, allocations: 0 / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001068/0.005466, allocations: 7.938 kB / 277.9 MB, free: 12.46 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 5.939e-05/0.005525, allocations: 76.42 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.615e-05/0.005571, allocations: 16.8 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005573, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.116e-05/0.005584, allocations: 8.859 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.005743, allocations: 32.38 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.006064, allocations: 171.6 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.006095, allocations: 59.34 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.006113, allocations: 4.25 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.006159, allocations: 59.36 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006159, allocations: 0 / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Templates: time 0.001931/0.008091, allocations: 0.6664 MB / 279 MB, free: 11.32 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.717297336086631]