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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001961/0.001962, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 226.8 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000948/0.0009481, allocations: 102.4 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009801, allocations: 51.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2912, allocations: 50.46 MB / 407 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002631/0.2938, allocations: 1.619 MB / 408.7 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.2947, allocations: 0.5221 MB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.2948, allocations: 7.938 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.2949, allocations: 0 / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.295, allocations: 7.094 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.2953, allocations: 51.83 kB / 409.3 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.2954, allocations: 39.86 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2955, allocations: 24.14 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.2956, allocations: 26.81 kB / 409.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.653e-05/0.2957, allocations: 19.86 kB / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2957, allocations: 0 / 409.4 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.2958, allocations: 8 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.2958, allocations: 19.91 kB / 409.4 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.2959, allocations: 23.81 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.296, allocations: 59.73 kB / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.296, allocations: 0 / 409.5 MB, free: 25.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.296, allocations: 7.938 kB / 409.5 MB, free: 25.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.296, allocations: 0 / 409.5 MB, free: 25.39 MB / 298.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.0004304/0.2965, allocations: 376.7 kB / 409.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2965, allocations: 12.59 kB / 409.9 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2967, allocations: 20.83 kB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.2968, allocations: 188.2 kB / 410.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2968, allocations: 4.375 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.2968, allocations: 4.375 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.2971, allocations: 113.1 kB / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2971, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.2972, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2972, allocations: 0 / 410.2 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.21e-05/0.2972, allocations: 23.92 kB / 410.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.2975, allocations: 269.7 kB / 410.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.2976, allocations: 49.2 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.297e-05/0.2977, allocations: 13.78 kB / 410.5 MB, free: 24.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2977, allocations: 15.91 kB / 410.5 MB, free: 24.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2977, allocations: 34.56 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2977, allocations: 0 / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002263/0.298, allocations: 69.52 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.298, allocations: 81.11 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.2981, allocations: 144.5 kB / 410.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.2981, allocations: 25.7 kB / 410.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.2982, allocations: 92.14 kB / 411 MB, free: 23.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.2982, allocations: 0 / 411 MB, free: 23.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.2982, allocations: 21.61 kB / 411 MB, free: 23.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.2983, allocations: 318.8 kB / 411.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.2983, allocations: 7.984 kB / 411.3 MB, free: 23.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.316e-05/0.2984, allocations: 25.72 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.673e-05/0.2984, allocations: 37.64 kB / 411.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2984, allocations: 0 / 411.4 MB, free: 23.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.368e-05/0.2985, allocations: 45.69 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2986, allocations: 7.984 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2986, allocations: 128 / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.2986, allocations: 8 kB / 411.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.2987, allocations: 7.938 kB / 411.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2987, allocations: 0 / 411.5 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.2987, allocations: 4 kB / 411.5 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.2987, allocations: 4 kB / 411.5 MB, free: 23.15 MB / 298.7 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 5.984e-05/0.2988, allocations: 123.2 kB / 411.6 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.2988, allocations: 41.61 kB / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.2989, allocations: 7.859 kB / 411.6 MB, free: 22.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2989, allocations: 11.97 kB / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2989, allocations: 0 / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2989, allocations: 0 / 411.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.299, allocations: 173.5 kB / 411.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2991, allocations: 4 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.2991, allocations: 4 kB / 411.8 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2991, allocations: 3.938 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2991, allocations: 3.938 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2991, allocations: 3.984 kB / 411.8 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2991, allocations: 4 kB / 411.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2994, allocations: 0.7207 MB / 412.6 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.2995, allocations: 89 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.2995, allocations: 3.984 kB / 412.6 MB, free: 21.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.2996, allocations: 12.03 kB / 412.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.2996, allocations: 3.938 kB / 412.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2996, allocations: 0 / 412.7 MB, free: 21.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.2997, allocations: 113.7 kB / 412.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2997, allocations: 0 / 412.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.3, allocations: 4 kB / 412.8 MB, free: 21.68 MB / 298.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 9.383e-05/0.3001, allocations: 95.25 kB / 412.9 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3002, allocations: 27.92 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3002, allocations: 0 / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.531e-05/0.3003, allocations: 7.984 kB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.3007, allocations: 22.83 kB / 412.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.301, allocations: 272.3 kB / 413.2 MB, free: 21.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3012, allocations: 0.6912 MB / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.018e-05/0.3012, allocations: 7.938 kB / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.3013, allocations: 11.38 kB / 413.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3013, allocations: 4 kB / 413.9 MB, free: 20.48 MB / 298.7 MB Notification: Performance of Templates: time 0.002639/0.3039, allocations: 0.535 MB / 414.4 MB, free: 19.96 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches