Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009396/0.0009399, allocations: 182.6 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.7 MB / 243.2 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008556, allocations: 91.25 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.000357, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2574, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.001474/0.2589, allocations: 1.285 MB / 405.9 MB, free: 30.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005662/0.2595, allocations: 457.6 kB / 406.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.2596, allocations: 4 kB / 406.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.2596, allocations: 7.922 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2598, allocations: 4.625 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.26, allocations: 41.67 kB / 406.4 MB, free: 29.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.2601, allocations: 47.8 kB / 406.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.2602, allocations: 14.28 kB / 406.4 MB, free: 29.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.2602, allocations: 23.91 kB / 406.5 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.2603, allocations: 19.86 kB / 406.5 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2603, allocations: 4 kB / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.2603, allocations: 0 / 406.5 MB, free: 29.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.2604, allocations: 8.781 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.2604, allocations: 57.48 kB / 406.5 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.839e-05/0.2605, allocations: 43.81 kB / 406.6 MB, free: 29.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2605, allocations: 0.7188 kB / 406.6 MB, free: 29.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2605, allocations: 0 / 406.6 MB, free: 29.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.2605, allocations: 0.8438 kB / 406.6 MB, free: 29.31 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.000344/0.2609, allocations: 373.7 kB / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2609, allocations: 9.719 kB / 407 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.261, allocations: 8.844 kB / 407 MB, free: 28.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2611, allocations: 204.9 kB / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2611, allocations: 384 / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2611, allocations: 4.375 kB / 407.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.2614, allocations: 122 kB / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2614, allocations: 0 / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2614, allocations: 0 / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2614, allocations: 3.938 kB / 407.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.2615, allocations: 31.92 kB / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.2617, allocations: 270.6 kB / 407.6 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.2618, allocations: 75.78 kB / 407.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.107e-05/0.2619, allocations: 38.56 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2619, allocations: 0 / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2619, allocations: 38.56 kB / 407.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2619, allocations: 0 / 407.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002243/0.2622, allocations: 85.52 kB / 407.8 MB, free: 27.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.2622, allocations: 123 kB / 407.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.2623, allocations: 140.4 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.2623, allocations: 25.7 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.2623, allocations: 92.12 kB / 408.2 MB, free: 27.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.2624, allocations: 7.906 kB / 408.2 MB, free: 27.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.2624, allocations: 0 / 408.2 MB, free: 27.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.2624, allocations: 318.8 kB / 408.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.2625, allocations: 11.98 kB / 408.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.2625, allocations: 43.41 kB / 408.6 MB, free: 27.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.2626, allocations: 59.36 kB / 408.6 MB, free: 26.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2626, allocations: 0 / 408.6 MB, free: 26.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.2627, allocations: 65.62 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.2627, allocations: 4 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2627, allocations: 4 kB / 408.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2627, allocations: 4 kB / 408.7 MB, free: 26.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.912e-05/0.2628, allocations: 24.05 kB / 408.7 MB, free: 26.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2628, allocations: 0 / 408.7 MB, free: 26.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.2629, allocations: 4 kB / 408.7 MB, free: 26.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2629, allocations: 0 / 408.7 MB, free: 26.87 MB / 298.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 5.154e-05/0.2629, allocations: 133.6 kB / 408.9 MB, free: 26.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.263, allocations: 49.55 kB / 408.9 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.263, allocations: 15.86 kB / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.263, allocations: 64 / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2631, allocations: 8 kB / 408.9 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2631, allocations: 0 / 408.9 MB, free: 26.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.2632, allocations: 173.6 kB / 409.1 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2632, allocations: 0 / 409.1 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.302e-05/0.2632, allocations: 11.98 kB / 409.1 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2633, allocations: 0 / 409.1 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2633, allocations: 0 / 409.1 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2633, allocations: 7.984 kB / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2633, allocations: 0 / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.2634, allocations: 189 kB / 409.3 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.2635, allocations: 92.94 kB / 409.4 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2635, allocations: 7.984 kB / 409.4 MB, free: 26.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.2635, allocations: 4 kB / 409.4 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2636, allocations: 11.94 kB / 409.4 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2636, allocations: 0 / 409.4 MB, free: 26.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.2636, allocations: 111.8 kB / 409.5 MB, free: 25.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2636, allocations: 0 / 409.5 MB, free: 25.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000215/0.2639, allocations: 4 kB / 409.5 MB, free: 25.96 MB / 298.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 7.389e-05/0.2639, allocations: 103.2 kB / 409.6 MB, free: 25.85 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.2641, allocations: 35.92 kB / 409.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2641, allocations: 4 kB / 409.7 MB, free: 25.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.2641, allocations: 11.98 kB / 409.7 MB, free: 25.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2645, allocations: 39.5 kB / 409.7 MB, free: 25.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.2647, allocations: 207 kB / 409.9 MB, free: 25.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.2649, allocations: 0.6926 MB / 410.6 MB, free: 24.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.796e-05/0.2649, allocations: 3.984 kB / 410.6 MB, free: 24.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.2649, allocations: 11.44 kB / 410.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2649, allocations: 4 kB / 410.6 MB, free: 24.79 MB / 298.7 MB Notification: Performance of Templates: time 0.002344/0.2673, allocations: 0.5798 MB / 411.2 MB, free: 24.21 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches