Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 99.62 kB / 16.05 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1081/0.1081, allocations: 12.63 MB / 29.41 MB, free: 6.07 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001939/0.0001939, allocations: 4 kB / 40.28 MB, free: 0.6016 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005711/0.005921, allocations: 2.831 MB / 43.11 MB, free: 6.047 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 1.736/1.742, allocations: 277.6 MB / 320.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000717/1.742, allocations: 463 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/1.742, allocations: 4 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/1.742, allocations: 8.969 kB / 321.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/1.743, allocations: 7.922 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/1.743, allocations: 48.52 kB / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.829e-05/1.743, allocations: 39.86 kB / 321.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/1.743, allocations: 31.52 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/1.743, allocations: 23.86 kB / 321.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/1.743, allocations: 11.92 kB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/1.743, allocations: 4 kB / 321.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/1.743, allocations: 0 / 321.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/1.743, allocations: 15.92 kB / 321.3 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/1.744, allocations: 46.89 kB / 321.4 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/1.744, allocations: 58.69 kB / 321.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.744, allocations: 0 / 321.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/1.744, allocations: 0 / 321.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/1.744, allocations: 1.719 kB / 321.4 MB, free: 9.871 MB / 250.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.0004619/1.744, allocations: 363.3 kB / 321.8 MB, free: 9.469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.744, allocations: 8.781 kB / 321.8 MB, free: 9.461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/1.744, allocations: 12.75 kB / 321.8 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/1.744, allocations: 207.9 kB / 322 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/1.744, allocations: 384 / 322 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/1.745, allocations: 8.375 kB / 322 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/1.745, allocations: 114.9 kB / 322.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.745, allocations: 0.6562 kB / 322.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/1.745, allocations: 0 / 322.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.745, allocations: 2.719 kB / 322.1 MB, free: 9.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/1.745, allocations: 27.92 kB / 322.2 MB, free: 9.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/1.745, allocations: 279.9 kB / 322.4 MB, free: 8.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/1.745, allocations: 69.69 kB / 322.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/1.745, allocations: 36.94 kB / 322.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/1.746, allocations: 0 / 322.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.746, allocations: 39.69 kB / 322.6 MB, free: 8.531 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/1.746, allocations: 0 / 322.6 MB, free: 8.531 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002821/1.746, allocations: 92.55 kB / 322.7 MB, free: 8.438 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/1.746, allocations: 103.7 kB / 322.8 MB, free: 8.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.746, allocations: 146.3 kB / 322.9 MB, free: 8.164 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/1.746, allocations: 29.7 kB / 322.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/1.746, allocations: 90.19 kB / 323 MB, free: 8.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/1.746, allocations: 4 kB / 323 MB, free: 8.035 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.746, allocations: 0 / 323 MB, free: 8.035 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/1.746, allocations: 323.5 kB / 323.3 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/1.746, allocations: 8.625 kB / 323.4 MB, free: 7.703 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.882e-05/1.746, allocations: 38.14 kB / 323.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.653e-05/1.746, allocations: 62.2 kB / 323.5 MB, free: 7.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.746, allocations: 0 / 323.5 MB, free: 7.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/1.747, allocations: 80.02 kB / 323.5 MB, free: 7.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.747, allocations: 4 kB / 323.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.747, allocations: 0 / 323.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.747, allocations: 4 kB / 323.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/1.747, allocations: 12.86 kB / 323.5 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.747, allocations: 3.938 kB / 323.6 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/1.747, allocations: 4.719 kB / 323.6 MB, free: 7.477 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/1.747, allocations: 1.219 kB / 323.6 MB, free: 7.477 MB / 250.7 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 8.672e-05/1.747, allocations: 133.6 kB / 323.7 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/1.747, allocations: 50.62 kB / 323.7 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/1.747, allocations: 11.88 kB / 323.8 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/1.747, allocations: 5.031 kB / 323.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.747, allocations: 7.984 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.747, allocations: 0.7188 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/1.747, allocations: 169.6 kB / 323.9 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.747, allocations: 8.562 kB / 323.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/1.747, allocations: 15.98 kB / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.747, allocations: 0 / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.747, allocations: 0 / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.747, allocations: 4 kB / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.747, allocations: 0 / 324 MB, free: 7.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/1.748, allocations: 189 kB / 324.1 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/1.748, allocations: 93 kB / 324.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.748, allocations: 4.141 kB / 324.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/1.748, allocations: 0 / 324.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/1.748, allocations: 11.97 kB / 324.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/1.748, allocations: 0 / 324.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.173e-05/1.748, allocations: 109.3 kB / 324.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.748, allocations: 0 / 324.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001966/1.748, allocations: 4 kB / 324.4 MB, free: 6.57 MB / 250.7 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 0.0001015/1.748, allocations: 111.2 kB / 324.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/1.748, allocations: 31.92 kB / 324.5 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.748, allocations: 0 / 324.5 MB, free: 6.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/1.748, allocations: 8.25 kB / 324.5 MB, free: 6.414 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/1.749, allocations: 36.02 kB / 324.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/1.749, allocations: 210.5 kB / 324.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/1.749, allocations: 0.7006 MB / 325.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.252e-05/1.749, allocations: 0 / 325.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/1.749, allocations: 11.44 kB / 325.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/1.749, allocations: 0 / 325.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of Templates: time 0.002722/1.752, allocations: 0.5965 MB / 326.1 MB, free: 4.816 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches