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.001239/0.001239, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001894/0.001894, allocations: 208.6 kB / 18.79 MB, free: 4.254 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.501/1.501, allocations: 230.4 MB / 250 MB, free: 9.066 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.00178/0.00178, allocations: 63.84 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3488, allocations: 53.31 MB / 420.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.003382/0.3521, allocations: 1.573 MB / 422.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3534, allocations: 0.5531 MB / 422.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.3535, allocations: 7.938 kB / 422.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.3536, allocations: 7.938 kB / 422.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3537, allocations: 15.86 kB / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3541, allocations: 59.81 kB / 422.9 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3542, allocations: 55.78 kB / 422.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3544, allocations: 8.188 kB / 422.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3545, allocations: 31.84 kB / 422.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3546, allocations: 23.86 kB / 423 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3546, allocations: 0 / 423 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.037e-05/0.3546, allocations: 8 kB / 423 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.3547, allocations: 15.92 kB / 423 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3548, allocations: 31.8 kB / 423 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3549, allocations: 63.53 kB / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3549, allocations: 0 / 423.1 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3549, allocations: 4 kB / 423.1 MB, free: 5.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3549, allocations: 0 / 423.1 MB, free: 5.871 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.0005767/0.3555, allocations: 383 kB / 423.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3556, allocations: 12.03 kB / 423.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3558, allocations: 12.89 kB / 423.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.3561, allocations: 212.7 kB / 423.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3561, allocations: 384 / 423.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3561, allocations: 7.938 kB / 423.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3564, allocations: 109 kB / 423.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3564, allocations: 4 kB / 423.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3564, allocations: 0 / 423.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3564, allocations: 0 / 423.8 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.3565, allocations: 15.98 kB / 423.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3568, allocations: 265.7 kB / 424.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.368e-05/0.3569, allocations: 41.22 kB / 424.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.357, allocations: 25.77 kB / 424.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.357, allocations: 7.922 kB / 424.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.3571, allocations: 30.56 kB / 424.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3571, allocations: 0 / 424.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002615/0.3573, allocations: 73.66 kB / 424.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3574, allocations: 77.11 kB / 424.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3575, allocations: 156.3 kB / 424.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3575, allocations: 25.7 kB / 424.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.3576, allocations: 96.03 kB / 424.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.3576, allocations: 0 / 424.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.3577, allocations: 17.72 kB / 424.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3578, allocations: 323 kB / 424.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.3579, allocations: 4 kB / 425 MB, free: 3.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.3579, allocations: 25.64 kB / 425 MB, free: 3.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.442e-05/0.358, allocations: 33.64 kB / 425 MB, free: 3.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.358, allocations: 0 / 425 MB, free: 3.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001237/0.3581, allocations: 57.7 kB / 425.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3581, allocations: 4 kB / 425.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3581, allocations: 0 / 425.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3582, allocations: 7.938 kB / 425.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.3582, allocations: 7.984 kB / 425.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.3582, allocations: 0 / 425.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.3583, allocations: 3.938 kB / 425.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.3583, allocations: 4 kB / 425.1 MB, free: 3.605 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.206e-05/0.3584, allocations: 121.9 kB / 425.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3584, allocations: 37.66 kB / 425.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.3585, allocations: 11.88 kB / 425.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3585, allocations: 0 / 425.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3585, allocations: 3.984 kB / 425.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3585, allocations: 3.938 kB / 425.3 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3587, allocations: 169.7 kB / 425.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3587, allocations: 7.984 kB / 425.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.3587, allocations: 4 kB / 425.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3587, allocations: 7.969 kB / 425.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3587, allocations: 0 / 425.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3587, allocations: 4 kB / 425.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3587, allocations: 0 / 425.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3589, allocations: 160.3 kB / 425.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.359, allocations: 93.05 kB / 425.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.359, allocations: 4.031 kB / 425.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3591, allocations: 4 kB / 425.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3591, allocations: 7.938 kB / 425.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3591, allocations: 0 / 425.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.889e-05/0.3592, allocations: 112.6 kB / 425.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3592, allocations: 0 / 425.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002193/0.3594, allocations: 4 kB / 425.8 MB, free: 2.754 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.0001142/0.3595, allocations: 99.19 kB / 425.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.3597, allocations: 27.97 kB / 426 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3597, allocations: 0 / 426 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.3597, allocations: 11.94 kB / 426 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.36, allocations: 22.45 kB / 426 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.3604, allocations: 171.6 kB / 426.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.3609, allocations: 0.6963 MB / 426.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.253e-05/0.3609, allocations: 0 / 426.9 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.361, allocations: 11.44 kB / 426.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.361, allocations: 0 / 426.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of Templates: time 0.004181/0.3652, allocations: 0.5794 MB / 427.4 MB, free: 1.094 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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