Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009547, allocations: 95.36 kB / 16.04 MB, free: 5.598 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.1016/0.1016, allocations: 12.63 MB / 29.4 MB, free: 5.781 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001789/0.000179, allocations: 7.984 kB / 40.28 MB, free: 0.5195 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.00515/0.005343, allocations: 2.824 MB / 43.1 MB, free: 5.969 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.Hold): time 1.566/1.572, allocations: 277.6 MB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000791/1.572, allocations: 468.8 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/1.573, allocations: 4 kB / 321.2 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/1.573, allocations: 4.438 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001276/1.573, allocations: 8.797 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/1.573, allocations: 47.89 kB / 321.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.222e-05/1.573, allocations: 48.34 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/1.573, allocations: 38.36 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.384e-05/1.573, allocations: 19.92 kB / 321.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/1.573, allocations: 23.8 kB / 321.4 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/1.573, allocations: 1.406 kB / 321.4 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/1.573, allocations: 4 kB / 321.4 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/1.573, allocations: 15.92 kB / 321.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.416e-05/1.574, allocations: 47.73 kB / 321.4 MB, free: 9.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.869e-05/1.574, allocations: 62.67 kB / 321.5 MB, free: 9.855 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.574, allocations: 4 kB / 321.5 MB, free: 9.852 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/1.574, allocations: 0 / 321.5 MB, free: 9.852 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/1.574, allocations: 0 / 321.5 MB, free: 9.852 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004568/1.574, allocations: 369 kB / 321.9 MB, free: 9.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/1.574, allocations: 8.031 kB / 321.9 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/1.574, allocations: 16.83 kB / 321.9 MB, free: 9.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/1.574, allocations: 196.7 kB / 322.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.574, allocations: 8.953 kB / 322.1 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.574, allocations: 15.03 kB / 322.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/1.575, allocations: 123.5 kB / 322.2 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/1.575, allocations: 0 / 322.2 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/1.575, allocations: 1.438 kB / 322.2 MB, free: 9.027 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.575, allocations: 4 kB / 322.2 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/1.575, allocations: 28.8 kB / 322.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/1.575, allocations: 293 kB / 322.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.575, allocations: 103.8 kB / 322.6 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.022e-05/1.576, allocations: 49.89 kB / 322.7 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/1.576, allocations: 0 / 322.7 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.576, allocations: 45.44 kB / 322.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1.576, allocations: 0 / 322.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002933/1.576, allocations: 103.2 kB / 322.8 MB, free: 8.305 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/1.576, allocations: 141.2 kB / 323 MB, free: 8.137 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/1.576, allocations: 140.4 kB / 323.1 MB, free: 7.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.576, allocations: 25.7 kB / 323.1 MB, free: 7.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/1.576, allocations: 99.08 kB / 323.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/1.576, allocations: 7.891 kB / 323.2 MB, free: 7.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/1.576, allocations: 4 kB / 323.2 MB, free: 7.852 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/1.576, allocations: 318.8 kB / 323.5 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.105e-05/1.576, allocations: 15.98 kB / 323.6 MB, free: 7.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/1.576, allocations: 47.53 kB / 323.6 MB, free: 7.457 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/1.577, allocations: 62.25 kB / 323.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.577, allocations: 6.969 kB / 323.7 MB, free: 7.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001573/1.577, allocations: 85.58 kB / 323.8 MB, free: 7.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/1.577, allocations: 4 kB / 323.8 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.577, allocations: 9.375 kB / 323.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.577, allocations: 0 / 323.8 MB, free: 7.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/1.577, allocations: 12 kB / 323.8 MB, free: 7.266 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.577, allocations: 4.703 kB / 323.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/1.577, allocations: 7.938 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/1.577, allocations: 4.656 kB / 323.8 MB, free: 7.25 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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 9.108e-05/1.577, allocations: 129.7 kB / 323.9 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/1.577, allocations: 57.59 kB / 324 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/1.577, allocations: 15.83 kB / 324 MB, free: 7.031 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.577, allocations: 7.922 kB / 324 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.577, allocations: 0 / 324 MB, free: 7.023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/1.577, allocations: 7.938 kB / 324 MB, free: 7.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/1.577, allocations: 177.6 kB / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/1.577, allocations: 0 / 324.2 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/1.578, allocations: 20.05 kB / 324.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.578, allocations: 0 / 324.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.578, allocations: 4 kB / 324.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.578, allocations: 0 / 324.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.578, allocations: 0 / 324.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/1.578, allocations: 209.9 kB / 324.4 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/1.578, allocations: 92.94 kB / 324.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/1.578, allocations: 8 kB / 324.5 MB, free: 6.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/1.578, allocations: 4 kB / 324.5 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/1.578, allocations: 7.875 kB / 324.5 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/1.578, allocations: 7.984 kB / 324.5 MB, free: 6.402 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/1.578, allocations: 105.1 kB / 324.6 MB, free: 6.301 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-07/1.578, allocations: 4 kB / 324.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002084/1.578, allocations: 12 kB / 324.7 MB, free: 6.285 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001054/1.578, allocations: 107.2 kB / 324.8 MB, free: 6.172 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001438/1.579, allocations: 47.86 kB / 324.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.579, allocations: 320 / 324.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/1.579, allocations: 19.92 kB / 324.8 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/1.579, allocations: 37.22 kB / 324.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/1.579, allocations: 228.1 kB / 325.1 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/1.58, allocations: 0.6965 MB / 325.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.354e-05/1.58, allocations: 0 / 325.8 MB, free: 5.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/1.58, allocations: 15.44 kB / 325.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of SimCode: time 3e-07/1.58, allocations: 0 / 325.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of Templates: time 0.002596/1.582, allocations: 0.6572 MB / 326.5 MB, free: 4.426 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches