Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 181 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.2 MB / 219.4 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 74.8 kB / 267.6 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1039/0.1039, allocations: 12.6 MB / 328.2 MB, free: 11.14 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.423e-05/4.438e-05, allocations: 4 kB / 386 MB, free: 1.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3172, allocations: 50.37 MB / 436.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.4666, allocations: 79.54 MB / 0.5038 GB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.467, allocations: 79.95 kB / 0.5039 GB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.4771, allocations: 2.327 MB / 0.5061 GB, free: 12.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4772, allocations: 0 / 0.5061 GB, free: 12.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.4772, allocations: 4 kB / 0.5061 GB, free: 12.07 MB / 362.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.0006122/0.4778, allocations: 410.3 kB / 0.5065 GB, free: 11.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4779, allocations: 8.031 kB / 0.5065 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.478, allocations: 23.72 kB / 0.5066 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4784, allocations: 243.6 kB / 0.5068 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4784, allocations: 12.14 kB / 0.5068 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.4785, allocations: 4 kB / 0.5068 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/0.4791, allocations: 250.4 kB / 0.5071 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4791, allocations: 0 / 0.5071 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.4792, allocations: 4 kB / 0.5071 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4792, allocations: 0 / 0.5071 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.4794, allocations: 51.92 kB / 0.5071 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.4801, allocations: 439.3 kB / 0.5075 GB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.4806, allocations: 270.4 kB / 0.5078 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.4808, allocations: 96.36 kB / 0.5079 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.4809, allocations: 8 kB / 0.5079 GB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.4809, allocations: 50.42 kB / 0.5079 GB, free: 9.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.725e-06/0.481, allocations: 0 / 0.5079 GB, free: 9.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004461/0.4814, allocations: 133.4 kB / 0.5081 GB, free: 9.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.4816, allocations: 192 kB / 0.5082 GB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.4818, allocations: 162.2 kB / 0.5084 GB, free: 9.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4819, allocations: 25.7 kB / 0.5084 GB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.4819, allocations: 158.6 kB / 0.5086 GB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.482, allocations: 19.83 kB / 0.5086 GB, free: 9.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.482, allocations: 4 kB / 0.5086 GB, free: 9.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.4822, allocations: 326.8 kB / 0.5089 GB, free: 8.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.308e-05/0.4822, allocations: 19.94 kB / 0.5089 GB, free: 8.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.4824, allocations: 123.8 kB / 0.509 GB, free: 8.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.4825, allocations: 43.06 kB / 0.5091 GB, free: 8.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4826, allocations: 4 kB / 0.5091 GB, free: 8.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003334/0.4829, allocations: 137.7 kB / 0.5092 GB, free: 8.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.4829, allocations: 8 kB / 0.5092 GB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.483, allocations: 4 kB / 0.5092 GB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.483, allocations: 4 kB / 0.5092 GB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.4833, allocations: 43.92 kB / 0.5093 GB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.4833, allocations: 11.92 kB / 0.5093 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4835, allocations: 11.91 kB / 0.5093 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.4835, allocations: 8 kB / 0.5093 GB, free: 8.438 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.4837, allocations: 128.8 kB / 0.5094 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.4841, allocations: 129.4 kB / 0.5096 GB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/0.4842, allocations: 29.52 kB / 0.5096 GB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.4842, allocations: 4 kB / 0.5096 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4842, allocations: 0 / 0.5096 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4842, allocations: 0 / 0.5096 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.4847, allocations: 221.4 kB / 0.5098 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4847, allocations: 0 / 0.5098 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.485, allocations: 47.94 kB / 0.5098 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4851, allocations: 0 / 0.5098 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4851, allocations: 8 kB / 0.5099 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.4851, allocations: 4 kB / 0.5099 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4851, allocations: 0 / 0.5099 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.4857, allocations: 380.2 kB / 0.5102 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4859, allocations: 112.8 kB / 0.5103 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4859, allocations: 8 kB / 0.5103 GB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.4862, allocations: 27.94 kB / 0.5104 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.4862, allocations: 0 / 0.5104 GB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.4863, allocations: 4 kB / 0.5104 GB, free: 7.227 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.4865, allocations: 133.2 kB / 0.5105 GB, free: 7.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4865, allocations: 0 / 0.5105 GB, free: 7.098 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.4869, allocations: 23.91 kB / 0.5105 GB, free: 7.074 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001436/0.4871, allocations: 99.23 kB / 0.5106 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.4874, allocations: 91.94 kB / 0.5107 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4874, allocations: 0 / 0.5107 GB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.359e-05/0.4875, allocations: 15.92 kB / 0.5107 GB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.4881, allocations: 80.47 kB / 0.5108 GB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.4897, allocations: 371.6 kB / 0.5111 GB, free: 6.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4901, allocations: 0.728 MB / 0.5119 GB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.4902, allocations: 19.42 kB / 0.5119 GB, free: 5.605 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4902, allocations: 0 / 0.5119 GB, free: 5.605 MB / 362.7 MB Notification: Performance of Templates: time 0.005033/0.4953, allocations: 1.705 MB / 0.5135 GB, free: 3.902 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches