Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009864/0.0009864, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00078/0.00078, allocations: 95.41 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002455, allocations: 4 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001426/0.2216, allocations: 1.265 MB / 413.3 MB, free: 24.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007018/0.2223, allocations: 0.7172 MB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.2223, allocations: 0.625 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2224, allocations: 3.984 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.2225, allocations: 12.56 kB / 414.1 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2227, allocations: 54.31 kB / 414.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.915e-05/0.2228, allocations: 43.8 kB / 414.1 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.2229, allocations: 16.17 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.223, allocations: 23.33 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.2231, allocations: 27.84 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2231, allocations: 0 / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.489e-05/0.2231, allocations: 4 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.2232, allocations: 7.938 kB / 414.2 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.2232, allocations: 53.5 kB / 414.3 MB, free: 23.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.033e-05/0.2233, allocations: 55.73 kB / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2233, allocations: 0 / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2233, allocations: 0 / 414.3 MB, free: 23.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.2233, allocations: 2.25 kB / 414.3 MB, free: 23.56 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.0003337/0.2237, allocations: 364.8 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2237, allocations: 12.03 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2238, allocations: 24.83 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.224, allocations: 200 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.224, allocations: 4.375 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.224, allocations: 4.375 kB / 414.9 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2242, allocations: 113.2 kB / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2243, allocations: 0 / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.2243, allocations: 0 / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2243, allocations: 0 / 415 MB, free: 22.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.2244, allocations: 27.92 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.2246, allocations: 269.8 kB / 415.3 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.515e-05/0.2247, allocations: 41.16 kB / 415.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.2247, allocations: 29.7 kB / 415.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2248, allocations: 3.984 kB / 415.4 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.2248, allocations: 38.56 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2248, allocations: 0 / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002061/0.225, allocations: 73.52 kB / 415.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2251, allocations: 81.11 kB / 415.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.2251, allocations: 146.4 kB / 415.7 MB, free: 21.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.2252, allocations: 29.7 kB / 415.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.2252, allocations: 88.14 kB / 415.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.2252, allocations: 4 kB / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.2252, allocations: 0 / 415.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.2253, allocations: 318.8 kB / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.588e-05/0.2253, allocations: 15.94 kB / 416.2 MB, free: 21.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.2253, allocations: 25.7 kB / 416.2 MB, free: 21.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.2254, allocations: 33.64 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2254, allocations: 4 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.484e-05/0.2255, allocations: 65.59 kB / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2255, allocations: 4 kB / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.2256, allocations: 0 / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2256, allocations: 0 / 416.3 MB, free: 21.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.2256, allocations: 11.98 kB / 416.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2256, allocations: 0 / 416.3 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.357e-05/0.2257, allocations: 4 kB / 416.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.2257, allocations: 0 / 416.3 MB, free: 21.31 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.419e-05/0.2258, allocations: 125.8 kB / 416.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.2258, allocations: 41.59 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.2258, allocations: 11.88 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2258, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2259, allocations: 0 / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2259, allocations: 3.938 kB / 416.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.226, allocations: 177.5 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.226, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.226, allocations: 7.984 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.226, allocations: 4.031 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2261, allocations: 4 kB / 416.7 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2261, allocations: 0 / 416.7 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2261, allocations: 3.938 kB / 416.7 MB, free: 20.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.2262, allocations: 164.2 kB / 416.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.2262, allocations: 97.03 kB / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2263, allocations: 0 / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.2263, allocations: 4 kB / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.2264, allocations: 0 / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.2264, allocations: 3.938 kB / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.625e-05/0.2264, allocations: 111.2 kB / 417.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2264, allocations: 0 / 417.1 MB, free: 20.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.2266, allocations: 8 kB / 417.1 MB, free: 20.45 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 7.295e-05/0.2267, allocations: 103.2 kB / 417.2 MB, free: 20.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2268, allocations: 19.98 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2268, allocations: 4 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.2269, allocations: 11.98 kB / 417.2 MB, free: 20.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.2273, allocations: 35.77 kB / 417.3 MB, free: 20.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.2275, allocations: 189.5 kB / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.2277, allocations: 0.6926 MB / 418.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2277, allocations: 4 kB / 418.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.2277, allocations: 11.44 kB / 418.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2277, allocations: 0 / 418.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002134/0.2299, allocations: 0.5098 MB / 418.7 MB, free: 18.82 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/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