Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008742, allocations: 99.16 kB / 16.05 MB, free: 5.594 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.08007/0.08007, allocations: 12.63 MB / 29.41 MB, free: 6.07 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.000225, allocations: 4 kB / 40.28 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.008276/0.008521, allocations: 2.835 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.HoldWithDAeffects2): time 1.641/1.65, allocations: 277.8 MB / 320.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009021/1.65, allocations: 0.5762 MB / 321.5 MB, free: 9.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/1.651, allocations: 4.688 kB / 321.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/1.651, allocations: 19.86 kB / 321.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/1.651, allocations: 9.844 kB / 321.5 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/1.651, allocations: 99.78 kB / 321.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/1.651, allocations: 127.6 kB / 321.8 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/1.651, allocations: 84.02 kB / 321.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/1.652, allocations: 42.11 kB / 321.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/1.652, allocations: 43.72 kB / 321.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/1.652, allocations: 7.984 kB / 321.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.657e-05/1.652, allocations: 4 kB / 321.9 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/1.652, allocations: 15.92 kB / 322 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/1.652, allocations: 77.25 kB / 322 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/1.652, allocations: 127.5 kB / 322.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.652, allocations: 5.312 kB / 322.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.213e-06/1.652, allocations: 0 / 322.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/1.652, allocations: 0 / 322.2 MB, free: 9.195 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005097/1.653, allocations: 425.8 kB / 322.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/1.653, allocations: 8.031 kB / 322.6 MB, free: 8.727 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/1.653, allocations: 16.75 kB / 322.6 MB, free: 8.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/1.653, allocations: 241.5 kB / 322.8 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/1.653, allocations: 16.06 kB / 322.9 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/1.653, allocations: 10.06 kB / 322.9 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/1.653, allocations: 297.9 kB / 323.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.653, allocations: 4 kB / 323.2 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.653, allocations: 7.938 kB / 323.2 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/1.653, allocations: 4 kB / 323.2 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/1.654, allocations: 78.2 kB / 323.3 MB, free: 8.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/1.654, allocations: 434.5 kB / 323.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/1.655, allocations: 304.1 kB / 324 MB, free: 7.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/1.655, allocations: 118.8 kB / 324.1 MB, free: 7.039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/1.655, allocations: 7.062 kB / 324.1 MB, free: 7.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.655, allocations: 46.48 kB / 324.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/1.655, allocations: 0 / 324.1 MB, free: 6.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005237/1.655, allocations: 231 kB / 324.4 MB, free: 6.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/1.655, allocations: 199.8 kB / 324.6 MB, free: 6.516 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/1.656, allocations: 179.9 kB / 324.7 MB, free: 6.332 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.656, allocations: 30.42 kB / 324.8 MB, free: 6.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/1.656, allocations: 105.5 kB / 324.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/1.656, allocations: 19.84 kB / 324.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/1.656, allocations: 0 / 324.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/1.656, allocations: 331.2 kB / 325.2 MB, free: 5.836 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/1.656, allocations: 27.97 kB / 325.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.656, allocations: 131.5 kB / 325.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/1.656, allocations: 174.4 kB / 325.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.656, allocations: 4 kB / 325.5 MB, free: 5.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003004/1.657, allocations: 185.1 kB / 325.7 MB, free: 5.211 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.657, allocations: 4 kB / 325.7 MB, free: 5.207 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/1.657, allocations: 8.531 kB / 325.7 MB, free: 5.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.657, allocations: 8.188 kB / 325.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/1.657, allocations: 39.92 kB / 325.8 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.657, allocations: 4 kB / 325.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/1.657, allocations: 23.86 kB / 325.8 MB, free: 5.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/1.657, allocations: 8 kB / 325.8 MB, free: 5.117 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.000106/1.657, allocations: 137.8 kB / 326 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/1.657, allocations: 157.4 kB / 326.1 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/1.657, allocations: 17.41 kB / 326.1 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.657, allocations: 11.88 kB / 326.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.657, allocations: 0 / 326.1 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.657, allocations: 11.92 kB / 326.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/1.658, allocations: 221.4 kB / 326.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.658, allocations: 4 kB / 326.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/1.658, allocations: 47.94 kB / 326.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/1.658, allocations: 0 / 326.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.658, allocations: 8 kB / 326.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.658, allocations: 0 / 326.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.658, allocations: 4 kB / 326.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/1.658, allocations: 377 kB / 326.8 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/1.658, allocations: 112.8 kB / 326.9 MB, free: 3.914 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/1.658, allocations: 4 kB / 326.9 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/1.659, allocations: 23.98 kB / 326.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/1.659, allocations: 3.938 kB / 326.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.659, allocations: 8 kB / 326.9 MB, free: 3.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.201e-05/1.659, allocations: 132.1 kB / 327.1 MB, free: 3.746 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.659, allocations: 0 / 327.1 MB, free: 3.746 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002845/1.659, allocations: 20 kB / 327.1 MB, free: 3.727 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 9.99e-05/1.659, allocations: 111.2 kB / 327.2 MB, free: 3.609 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/1.659, allocations: 120.8 kB / 327.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.659, allocations: 3.938 kB / 327.3 MB, free: 3.488 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/1.659, allocations: 12.06 kB / 327.3 MB, free: 3.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/1.66, allocations: 113 kB / 327.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/1.661, allocations: 391.6 kB / 327.8 MB, free: 2.949 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/1.661, allocations: 0.7241 MB / 328.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.409e-05/1.661, allocations: 13.73 kB / 328.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/1.661, allocations: 23.44 kB / 328.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of SimCode: time 3.41e-07/1.661, allocations: 0 / 328.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of Templates: time 0.003754/1.665, allocations: 1.59 MB / 330.2 MB, free: 0.5859 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches