Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 94 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.07382/0.07383, allocations: 12.63 MB / 29.4 MB, free: 5.77 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001871/0.000187, allocations: 4 kB / 40.28 MB, free: 0.5078 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006144/0.006348, allocations: 2.831 MB / 43.11 MB, free: 5.953 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.HoldWithDAeffects1): time 1.491/1.498, allocations: 277.8 MB / 320.9 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/1.499, allocations: 0.5769 MB / 321.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/1.499, allocations: 7.938 kB / 321.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/1.499, allocations: 15.86 kB / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/1.499, allocations: 15.88 kB / 321.6 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/1.5, allocations: 88.78 kB / 321.6 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/1.5, allocations: 131.6 kB / 321.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/1.5, allocations: 80.44 kB / 321.8 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/1.5, allocations: 46.02 kB / 321.9 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/1.5, allocations: 43.7 kB / 321.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/1.5, allocations: 0 / 321.9 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/1.5, allocations: 4 kB / 321.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/1.501, allocations: 23.86 kB / 322 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/1.501, allocations: 81.25 kB / 322 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/1.501, allocations: 121.2 kB / 322.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.501, allocations: 3.938 kB / 322.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.501, allocations: 0 / 322.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/1.501, 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.0006906/1.502, allocations: 426.6 kB / 322.6 MB, free: 8.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.502, allocations: 12.03 kB / 322.6 MB, free: 8.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/1.502, allocations: 16.75 kB / 322.6 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/1.502, allocations: 240.8 kB / 322.8 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/1.502, allocations: 12.12 kB / 322.9 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/1.502, allocations: 8.625 kB / 322.9 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/1.503, allocations: 287.9 kB / 323.1 MB, free: 8.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.503, allocations: 4.562 kB / 323.1 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/1.503, allocations: 0 / 323.1 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.503, allocations: 4.875 kB / 323.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/1.503, allocations: 90.5 kB / 323.2 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/1.504, allocations: 423.8 kB / 323.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/1.505, allocations: 306.9 kB / 324 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/1.505, allocations: 123.4 kB / 324.1 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/1.505, allocations: 4 kB / 324.1 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1.505, allocations: 40.59 kB / 324.1 MB, free: 6.996 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/1.505, allocations: 0 / 324.1 MB, free: 6.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007691/1.506, allocations: 233.9 kB / 324.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.506, allocations: 200.6 kB / 324.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/1.506, allocations: 180.4 kB / 324.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.506, allocations: 29.7 kB / 324.7 MB, free: 6.309 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/1.506, allocations: 108 kB / 324.9 MB, free: 6.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/1.506, allocations: 11.92 kB / 324.9 MB, free: 6.188 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/1.506, allocations: 4 kB / 324.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/1.506, allocations: 326.8 kB / 325.2 MB, free: 5.855 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.507, allocations: 27.92 kB / 325.2 MB, free: 5.828 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/1.507, allocations: 126.6 kB / 325.3 MB, free: 5.652 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/1.507, allocations: 169.5 kB / 325.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.507, allocations: 0 / 325.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004144/1.507, allocations: 169.5 kB / 325.7 MB, free: 5.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.507, allocations: 8.25 kB / 325.7 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.507, allocations: 7.984 kB / 325.7 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.508, allocations: 4 kB / 325.7 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.508, allocations: 35.92 kB / 325.7 MB, free: 5.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.508, allocations: 7.938 kB / 325.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/1.508, allocations: 11.94 kB / 325.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/1.508, allocations: 12 kB / 325.8 MB, free: 5.18 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001501/1.508, allocations: 134 kB / 325.9 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/1.509, allocations: 157.6 kB / 326 MB, free: 4.879 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/1.509, allocations: 25.39 kB / 326.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.509, allocations: 0 / 326.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.509, allocations: 4 kB / 326.1 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/1.509, allocations: 4.031 kB / 326.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/1.509, allocations: 225.4 kB / 326.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.509, allocations: 0 / 326.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/1.509, allocations: 48.16 kB / 326.3 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/1.509, allocations: 3.938 kB / 326.3 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/1.509, allocations: 4 kB / 326.3 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/1.509, allocations: 3.984 kB / 326.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.509, allocations: 4 kB / 326.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/1.51, allocations: 380.9 kB / 326.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.51, allocations: 108.9 kB / 326.8 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/1.51, allocations: 7.938 kB / 326.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/1.51, allocations: 15.98 kB / 326.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/1.51, allocations: 4 kB / 326.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.51, allocations: 4 kB / 326.9 MB, free: 3.953 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001405/1.511, allocations: 136.1 kB / 327 MB, free: 3.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.511, allocations: 0 / 327 MB, free: 3.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004975/1.511, allocations: 23.94 kB / 327 MB, free: 3.797 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001302/1.511, allocations: 103.8 kB / 327.1 MB, free: 3.688 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003808/1.512, allocations: 120.2 kB / 327.2 MB, free: 3.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.512, allocations: 3.938 kB / 327.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.655e-05/1.512, allocations: 15.94 kB / 327.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000913/1.513, allocations: 112.3 kB / 327.4 MB, free: 3.441 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/1.514, allocations: 438.7 kB / 327.8 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/1.514, allocations: 0.7163 MB / 328.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.259e-05/1.514, allocations: 17.55 kB / 328.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/1.514, allocations: 19.44 kB / 328.5 MB, free: 2.195 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/1.514, allocations: 3.938 kB / 328.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of Templates: time 0.005443/1.52, allocations: 1.561 MB / 330.1 MB, free: 0.6562 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches