Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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 trunk/package.mo", uses=false) 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.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007773, allocations: 97.05 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008637/0.0008637, allocations: 201.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.121/1.121, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001973/0.0001973, allocations: 11.98 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07396/0.07417, allocations: 51.51 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001482/0.07568, allocations: 1.309 MB / 360.6 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.07644, allocations: 0.5339 MB / 361.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.0765, allocations: 3.938 kB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.07654, allocations: 7.984 kB / 361.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.07664, allocations: 7.875 kB / 361.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.07687, allocations: 63.75 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.07695, allocations: 43.86 kB / 361.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.358e-05/0.07703, allocations: 24.16 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.07712, allocations: 19.92 kB / 361.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.07718, allocations: 19.86 kB / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.07719, allocations: 0 / 361.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.841e-05/0.07723, allocations: 7.938 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.07727, allocations: 15.92 kB / 361.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.07731, allocations: 45.52 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.07741, allocations: 63.72 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.07742, allocations: 4 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.07742, allocations: 0 / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.07743, allocations: 0 / 361.4 MB, free: 11.13 MB / 302.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.0003635/0.0778, allocations: 375.3 kB / 361.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.07784, allocations: 12.03 kB / 361.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.07796, allocations: 20.83 kB / 361.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.07812, allocations: 200.7 kB / 362 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.07814, allocations: 384 / 362 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.07816, allocations: 7.938 kB / 362 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.07838, allocations: 113.9 kB / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.07839, allocations: 0 / 362.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.07841, allocations: 4 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.07842, allocations: 4 kB / 362.1 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.0785, allocations: 27.92 kB / 362.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.07876, allocations: 278.5 kB / 362.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.07887, allocations: 71.78 kB / 362.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.07894, allocations: 42.55 kB / 362.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.07897, allocations: 8 kB / 362.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.07899, allocations: 30.56 kB / 362.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.079, allocations: 0 / 362.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000214/0.07922, allocations: 85.86 kB / 362.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.07928, allocations: 122.8 kB / 362.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.07939, allocations: 147.8 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.07941, allocations: 25.7 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.07946, allocations: 92.12 kB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.278e-06/0.07948, allocations: 4 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.07951, allocations: 9.719 kB / 363.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.0796, allocations: 318.8 kB / 363.4 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.07965, allocations: 12 kB / 363.4 MB, free: 8.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.0797, allocations: 39.42 kB / 363.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/0.07979, allocations: 51.36 kB / 363.5 MB, free: 8.773 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0798, allocations: 3.938 kB / 363.5 MB, free: 8.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.07992, allocations: 77.52 kB / 363.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.07994, allocations: 4.125 kB / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.07996, allocations: 8 kB / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.07997, allocations: 0 / 363.6 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.08003, allocations: 11.94 kB / 363.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.08005, allocations: 3.984 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.08009, allocations: 19.86 kB / 363.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.08011, allocations: 4 kB / 363.6 MB, free: 8.637 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.96e-05/0.08017, allocations: 117.8 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.08024, allocations: 61.53 kB / 363.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.08028, allocations: 11.88 kB / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.08029, allocations: 0 / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.0803, allocations: 0 / 363.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.0803, allocations: 3.938 kB / 363.8 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.08045, allocations: 173.6 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.08046, allocations: 0 / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.996e-05/0.08051, allocations: 8 kB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.08052, allocations: 4 kB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.08053, allocations: 0 / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.08054, allocations: 8.047 kB / 364 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.08055, allocations: 4 kB / 364 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.0807, allocations: 185 kB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.08077, allocations: 93 kB / 364.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.08078, allocations: 4 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.08085, allocations: 4 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.08088, allocations: 3.938 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.08089, allocations: 4 kB / 364.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.08095, allocations: 114.6 kB / 364.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08096, allocations: 0 / 364.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.08116, allocations: 4 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.955e-05/0.08124, allocations: 103.2 kB / 364.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.08137, allocations: 39.91 kB / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.08137, allocations: 0 / 364.5 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.08141, allocations: 8 kB / 364.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.08172, allocations: 30.69 kB / 364.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.08199, allocations: 214.2 kB / 364.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.08221, allocations: 0.6887 MB / 365.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.265e-05/0.08224, allocations: 8 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.08226, allocations: 15.44 kB / 365.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08227, allocations: 0 / 365.5 MB, free: 6.574 MB / 302.1 MB Notification: Performance of Templates: time 0.002135/0.08441, allocations: 0.5882 MB / 366.1 MB, free: 5.996 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches