Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001286/0.001286, allocations: 110.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.89 kB / 359.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2456, allocations: 50.55 MB / 410.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002792/0.2484, allocations: 1.565 MB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2494, allocations: 0.5531 MB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.006e-05/0.2495, allocations: 4 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.436e-05/0.2495, allocations: 3.938 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.2497, allocations: 11.88 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.25, allocations: 59.81 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2501, allocations: 51.78 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2502, allocations: 16.17 kB / 412.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2503, allocations: 27.86 kB / 412.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.2504, allocations: 23.86 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.2504, allocations: 0 / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.733e-05/0.2504, allocations: 12 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.2505, allocations: 19.91 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.2505, allocations: 19.81 kB / 412.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.2507, allocations: 63.53 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2507, allocations: 4 kB / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2507, allocations: 0 / 412.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.2507, allocations: 0 / 412.6 MB, free: 14.98 MB / 334.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.0005502/0.2512, allocations: 390.9 kB / 413 MB, free: 14.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2513, allocations: 12.03 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.2514, allocations: 12.89 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2517, allocations: 210.4 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2517, allocations: 384 / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.2517, allocations: 11.94 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.252, allocations: 113 kB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.252, allocations: 0 / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.252, allocations: 0 / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.252, allocations: 0 / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.022e-05/0.2521, allocations: 23.92 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.2524, allocations: 265.8 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.2525, allocations: 41.14 kB / 413.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.2526, allocations: 29.7 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.2526, allocations: 4 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.2527, allocations: 30.56 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.2527, allocations: 0 / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002503/0.2529, allocations: 73.56 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.253, allocations: 77.11 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.2531, allocations: 149 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2531, allocations: 29.7 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.2532, allocations: 100.1 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.2532, allocations: 0 / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.2532, allocations: 13.72 kB / 414.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2534, allocations: 318.8 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.838e-05/0.2534, allocations: 4 kB / 414.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.2535, allocations: 33.64 kB / 414.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.2536, allocations: 33.64 kB / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2536, allocations: 0 / 414.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.2537, allocations: 53.58 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2537, allocations: 4 kB / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2537, allocations: 0 / 414.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2537, allocations: 8.125 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.2538, allocations: 11.98 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2538, allocations: 0 / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.2538, allocations: 11.94 kB / 414.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2538, allocations: 0 / 414.6 MB, free: 12.69 MB / 334.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 9.479e-05/0.2539, allocations: 113.8 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.254, allocations: 49.58 kB / 414.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.254, allocations: 7.875 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.254, allocations: 4.031 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.254, allocations: 0 / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.254, allocations: 3.938 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2542, allocations: 169.7 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2542, allocations: 0 / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.2543, allocations: 7.984 kB / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2543, allocations: 0 / 415 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2543, allocations: 4 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2543, allocations: 4 kB / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2543, allocations: 0 / 415 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.2545, allocations: 164.3 kB / 415.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.2545, allocations: 93.05 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2546, allocations: 3.938 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.2546, allocations: 0 / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.2546, allocations: 7.938 kB / 415.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.2547, allocations: 3.938 kB / 415.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.336e-05/0.2547, allocations: 115.3 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2547, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.255, allocations: 4 kB / 415.4 MB, free: 11.84 MB / 334.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.0001007/0.2551, allocations: 99.25 kB / 415.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2552, allocations: 19.97 kB / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2552, allocations: 0 / 415.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.308e-05/0.2552, allocations: 20.06 kB / 415.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2556, allocations: 19.95 kB / 415.5 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.2559, allocations: 167.4 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.2563, allocations: 0.6885 MB / 416.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.2563, allocations: 3.984 kB / 416.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.2563, allocations: 15.59 kB / 416.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2563, allocations: 0 / 416.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Templates: time 0.003081/0.2594, allocations: 0.5824 MB / 417 MB, free: 10.18 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches