Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.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.0007307/0.0007306, allocations: 89.17 kB / 16.04 MB, free: 5.746 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.07716/0.07716, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001883/0.0001883, allocations: 4 kB / 40.27 MB, free: 0.6211 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004796/0.005002, allocations: 2.831 MB / 43.11 MB, free: 6.066 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.ClockSignals.ShiftSample): time 1.441/1.446, allocations: 277.5 MB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006332/1.447, allocations: 459.1 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/1.447, allocations: 1.062 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/1.447, allocations: 7.875 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/1.447, allocations: 13.2 kB / 321.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/1.448, allocations: 39.91 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.89e-05/1.448, allocations: 47.84 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/1.448, allocations: 21.53 kB / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/1.448, allocations: 21.61 kB / 321.2 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.791e-05/1.448, allocations: 19.86 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/1.448, allocations: 0 / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/1.448, allocations: 0 / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/1.448, allocations: 15.92 kB / 321.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/1.448, allocations: 50.3 kB / 321.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.084e-05/1.448, allocations: 54.69 kB / 321.4 MB, free: 9.938 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/1.448, allocations: 7.078 kB / 321.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.448, allocations: 0 / 321.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/1.448, allocations: 3.938 kB / 321.4 MB, free: 9.93 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.000382/1.449, allocations: 364.8 kB / 321.8 MB, free: 9.527 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/1.449, allocations: 8.031 kB / 321.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/1.449, allocations: 12.75 kB / 321.8 MB, free: 9.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/1.449, allocations: 192.9 kB / 322 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/1.449, allocations: 3.719 kB / 322 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/1.449, allocations: 8.375 kB / 322 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/1.449, allocations: 101.2 kB / 322.1 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.449, allocations: 8.594 kB / 322.1 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/1.449, allocations: 0 / 322.1 MB, free: 9.148 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.449, allocations: 6.719 kB / 322.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/1.449, allocations: 27.91 kB / 322.1 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002723/1.45, allocations: 270.3 kB / 322.4 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/1.45, allocations: 47.92 kB / 322.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/1.45, allocations: 21.78 kB / 322.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/1.45, allocations: 5.062 kB / 322.5 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.45, allocations: 35.77 kB / 322.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.45, allocations: 0 / 322.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000208/1.45, allocations: 73.84 kB / 322.6 MB, free: 8.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.45, allocations: 81.09 kB / 322.6 MB, free: 8.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/1.45, allocations: 139.2 kB / 322.8 MB, free: 8.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/1.45, allocations: 25.7 kB / 322.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/1.45, allocations: 98.14 kB / 322.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/1.45, allocations: 0 / 322.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.45, allocations: 4.812 kB / 322.9 MB, free: 8.215 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/1.45, allocations: 316.7 kB / 323.2 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/1.45, allocations: 15.98 kB / 323.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/1.45, allocations: 22.44 kB / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/1.45, allocations: 32.05 kB / 323.3 MB, free: 7.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/1.45, allocations: 0 / 323.3 MB, free: 7.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/1.451, allocations: 64.06 kB / 323.3 MB, free: 7.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/1.451, allocations: 11.98 kB / 323.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/1.451, allocations: 0 / 323.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/1.451, allocations: 0 / 323.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/1.451, allocations: 4.844 kB / 323.4 MB, free: 7.738 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/1.451, allocations: 4 kB / 323.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/1.451, allocations: 0.6875 kB / 323.4 MB, free: 7.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.451, allocations: 5.219 kB / 323.4 MB, free: 7.73 MB / 250.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 7.202e-05/1.451, allocations: 125.7 kB / 323.5 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/1.451, allocations: 42.58 kB / 323.5 MB, free: 7.551 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/1.451, allocations: 11.86 kB / 323.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/1.451, allocations: 4.75 kB / 323.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/1.451, allocations: 3.938 kB / 323.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.451, allocations: 0.625 kB / 323.6 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/1.451, allocations: 176.3 kB / 323.7 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.451, allocations: 0 / 323.7 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/1.451, allocations: 8 kB / 323.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.451, allocations: 0 / 323.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/1.451, allocations: 0 / 323.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/1.451, allocations: 0 / 323.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.451, allocations: 11.97 kB / 323.7 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/1.451, allocations: 167 kB / 323.9 MB, free: 7.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/1.451, allocations: 96.97 kB / 324 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/1.451, allocations: 4 kB / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/1.451, allocations: 0 / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/1.451, allocations: 7.984 kB / 324 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/1.452, allocations: 0 / 324 MB, free: 6.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/1.452, allocations: 109.3 kB / 324.1 MB, free: 6.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.452, allocations: 0 / 324.1 MB, free: 6.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002039/1.452, allocations: 4 kB / 324.1 MB, free: 6.875 MB / 250.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.364e-05/1.452, allocations: 107.2 kB / 324.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/1.452, allocations: 23.98 kB / 324.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.452, allocations: 0 / 324.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/1.452, allocations: 11.94 kB / 324.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/1.452, allocations: 27.95 kB / 324.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/1.453, allocations: 189.7 kB / 324.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/1.453, allocations: 0.6887 MB / 325.2 MB, free: 5.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.729e-05/1.453, allocations: 4 kB / 325.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/1.453, allocations: 15.44 kB / 325.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of SimCode: time 1.503e-06/1.453, allocations: 0 / 325.2 MB, free: 5.75 MB / 250.7 MB Notification: Performance of Templates: time 0.002188/1.455, allocations: 0.534 MB / 325.7 MB, free: 5.227 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches