Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.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.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 93.48 kB / 16.05 MB, free: 5.742 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.1209/0.1209, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002223, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006625/0.00687, allocations: 2.827 MB / 43.1 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.WorkInProgress.Tests.TestShiftSample): time 1.605/1.612, allocations: 277.7 MB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006677/1.612, allocations: 440.2 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/1.612, allocations: 7.938 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/1.612, allocations: 1.719 kB / 321.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/1.613, allocations: 7.875 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/1.613, allocations: 47.89 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.234e-05/1.613, allocations: 63.8 kB / 321.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/1.613, allocations: 57.34 kB / 321.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/1.613, allocations: 19.81 kB / 321.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.431e-05/1.613, allocations: 34.8 kB / 321.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/1.613, allocations: 4 kB / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/1.613, allocations: 0 / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/1.613, allocations: 11.94 kB / 321.5 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/1.613, allocations: 49.52 kB / 321.5 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/1.614, allocations: 63.7 kB / 321.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.614, allocations: 0 / 321.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.523e-06/1.614, allocations: 0 / 321.6 MB, free: 9.766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/1.614, allocations: 4.781 kB / 321.6 MB, free: 9.762 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004067/1.614, allocations: 362.2 kB / 321.9 MB, free: 9.363 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/1.614, allocations: 8.031 kB / 321.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/1.614, allocations: 8.844 kB / 321.9 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/1.614, allocations: 216 kB / 322.2 MB, free: 9.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/1.614, allocations: 4.375 kB / 322.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/1.614, allocations: 8.312 kB / 322.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/1.615, allocations: 170.6 kB / 322.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.615, allocations: 0 / 322.3 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/1.615, allocations: 3.938 kB / 322.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.615, allocations: 0 / 322.3 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/1.615, allocations: 44.53 kB / 322.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/1.615, allocations: 285 kB / 322.7 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/1.615, allocations: 185.1 kB / 322.8 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/1.615, allocations: 54.56 kB / 322.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/1.615, allocations: 4 kB / 322.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/1.616, allocations: 35.81 kB / 322.9 MB, free: 8.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/1.616, allocations: 2.125 kB / 322.9 MB, free: 8.191 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002998/1.616, allocations: 118.2 kB / 323 MB, free: 8.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.616, allocations: 119.6 kB / 323.2 MB, free: 7.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/1.616, allocations: 123.3 kB / 323.3 MB, free: 7.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/1.616, allocations: 29.7 kB / 323.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/1.616, allocations: 96.03 kB / 323.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/1.616, allocations: 4.812 kB / 323.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-06/1.616, allocations: 0 / 323.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/1.616, allocations: 323.6 kB / 323.7 MB, free: 7.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/1.616, allocations: 17.02 kB / 323.7 MB, free: 7.32 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/1.616, allocations: 73.47 kB / 323.8 MB, free: 7.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/1.616, allocations: 98.22 kB / 323.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.617, allocations: 0 / 323.9 MB, free: 7.105 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001808/1.617, allocations: 112.6 kB / 324 MB, free: 6.992 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.617, allocations: 8 kB / 324 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.617, allocations: 0 / 324 MB, free: 6.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.617, allocations: 6.156 kB / 324 MB, free: 6.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/1.617, allocations: 19.98 kB / 324.1 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.617, allocations: 0 / 324.1 MB, free: 6.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.861e-05/1.617, allocations: 15.98 kB / 324.1 MB, free: 6.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.617, allocations: 4 kB / 324.1 MB, free: 6.941 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.866e-05/1.617, allocations: 127 kB / 324.2 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/1.617, allocations: 81.95 kB / 324.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/1.617, allocations: 8.719 kB / 324.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.617, allocations: 19.86 kB / 324.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/1.617, allocations: 0 / 324.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.617, allocations: 0 / 324.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.617, allocations: 185.4 kB / 324.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.617, allocations: 4.25 kB / 324.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/1.617, allocations: 19.98 kB / 324.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.617, allocations: 4 kB / 324.5 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.618, allocations: 4 kB / 324.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.618, allocations: 4 kB / 324.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.618, allocations: 0 / 324.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/1.618, allocations: 213 kB / 324.7 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/1.618, allocations: 81.02 kB / 324.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/1.618, allocations: 7.984 kB / 324.8 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/1.618, allocations: 4 kB / 324.8 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/1.618, allocations: 4 kB / 324.8 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/1.618, allocations: 8 kB / 324.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.013e-05/1.618, allocations: 95.27 kB / 324.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.618, allocations: 0 / 324.9 MB, free: 5.98 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002233/1.618, allocations: 12 kB / 324.9 MB, free: 5.969 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 (9): * Single equations (assignments): 9 * 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 8.984e-05/1.618, allocations: 103.2 kB / 325 MB, free: 5.859 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/1.619, allocations: 59.97 kB / 325.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.619, allocations: 4 kB / 325.1 MB, free: 5.797 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/1.619, allocations: 15.92 kB / 325.1 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/1.619, allocations: 39.95 kB / 325.2 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/1.619, allocations: 229.4 kB / 325.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/1.62, allocations: 0.6926 MB / 326.1 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.862e-05/1.62, allocations: 12.64 kB / 326.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/1.62, allocations: 19.38 kB / 326.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of SimCode: time 2.4e-07/1.62, allocations: 0 / 326.1 MB, free: 4.738 MB / 250.7 MB Notification: Performance of Templates: time 0.002739/1.622, allocations: 0.8187 MB / 326.9 MB, free: 3.934 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample.pipe 2>&1)