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.0009506/0.0009506, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001013/0.001013, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9563/0.9563, allocations: 177 MB / 204.8 MB, free: 5.621 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.462e-06/1.462e-06, allocations: 0 / 272.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.935e-05, allocations: 5.125 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002214/0.002243, allocations: 1.622 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.003051, allocations: 0.5375 MB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.003142, allocations: 3.938 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.566e-05/0.003198, allocations: 7.922 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.003344, allocations: 19.86 kB / 275.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.00368, allocations: 59.69 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.003789, allocations: 51.8 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.003891, allocations: 16.16 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.004029, allocations: 31.86 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.004086, allocations: 19.97 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.004105, allocations: 4 kB / 275.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.004149, allocations: 7.984 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.004197, allocations: 11.94 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.004223, allocations: 11.94 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.004372, allocations: 47.81 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.004376, allocations: 0 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.004377, allocations: 0 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.004383, allocations: 8 kB / 275.4 MB, free: 15.04 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.0004591/0.004842, allocations: 408.2 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.004883, allocations: 15.98 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.00504, allocations: 20.88 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.005216, allocations: 148.9 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.005225, allocations: 4.375 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005233, allocations: 384 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.005449, allocations: 129.4 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005456, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.005463, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.005469, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.005489, allocations: 7.938 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.005732, allocations: 263.5 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.005794, allocations: 65.98 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.005819, allocations: 19.5 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.005831, allocations: 4 kB / 276.4 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.005859, allocations: 33.39 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.005861, allocations: 3.984 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.005999, allocations: 53.58 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.006036, allocations: 81.11 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.006145, allocations: 197.3 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.006154, allocations: 29.64 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.0062, allocations: 142.8 kB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.00621, allocations: 0 / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.006234, allocations: 19.62 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.006362, allocations: 0.4961 MB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.006373, allocations: 0 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-06/0.00638, allocations: 0 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.006404, allocations: 19.62 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006406, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.974e-05/0.006455, allocations: 37.66 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.006467, allocations: 4 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006471, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006482, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.006544, allocations: 12.08 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006549, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.426e-05/0.006563, allocations: 0 / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.00657, allocations: 4 kB / 277.5 MB, free: 12.6 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 6.064e-05/0.006631, allocations: 156.5 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.006674, allocations: 49.58 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.0067, allocations: 3.812 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.006704, allocations: 4 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006707, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006709, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.006825, allocations: 140.6 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.006828, allocations: 3.984 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.006865, allocations: 4 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006868, allocations: 0 / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006876, allocations: 0 / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006878, allocations: 0 / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.006881, allocations: 4 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.007252, allocations: 207.5 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.007291, allocations: 15.94 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.007308, allocations: 4 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.007388, allocations: 4.031 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.007415, allocations: 0 / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.007421, allocations: 4 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.651e-05/0.007497, allocations: 147.1 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007497, allocations: 0 / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.007795, allocations: 8 kB / 278.3 MB, free: 11.79 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.016e-05/0.007876, allocations: 99.19 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.007948, allocations: 15.62 kB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.00795, allocations: 4.062 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.007964, allocations: 11.69 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.008193, allocations: 25.55 kB / 278.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.008613, allocations: 169.3 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.008653, allocations: 63.28 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.008677, allocations: 4.25 kB / 278.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.008713, allocations: 16.64 kB / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008714, allocations: 0 / 278.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of Templates: time 0.002252/0.01097, allocations: 0.6792 MB / 279.4 MB, free: 10.65 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.694245609920472]