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/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/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.001815/0.001815, allocations: 181.3 kB / 17.46 MB, free: 4.238 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.895/2.895, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.001209/0.001209, allocations: 92.64 kB / 271.9 MB, free: 8.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.169/0.169, allocations: 12.2 MB / 332.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007345/0.0007345, allocations: 12 kB / 392.7 MB, free: 67.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1894, allocations: 50.3 MB / 443 MB, free: 16.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6325/0.822, allocations: 79.61 MB / 0.5104 GB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.8224, allocations: 84.22 kB / 0.5105 GB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.8328, allocations: 2.897 MB / 0.5133 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.8329, allocations: 0 / 0.5133 GB, free: 11.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.237e-05/0.8329, allocations: 7.781 kB / 0.5133 GB, free: 11.84 MB / 330.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.000657/0.8336, allocations: 433.4 kB / 0.5137 GB, free: 11.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.8336, allocations: 7.844 kB / 0.5137 GB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.8337, allocations: 20.16 kB / 0.5137 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.8341, allocations: 256.8 kB / 0.514 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.8342, allocations: 4.812 kB / 0.514 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.8342, allocations: 11.31 kB / 0.514 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.835, allocations: 316.8 kB / 0.5143 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.835, allocations: 0 / 0.5143 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.8351, allocations: 11.25 kB / 0.5143 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.8351, allocations: 0 / 0.5143 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.8354, allocations: 80.45 kB / 0.5144 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.8362, allocations: 443.1 kB / 0.5148 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.8369, allocations: 306.9 kB / 0.5151 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.8372, allocations: 115 kB / 0.5152 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.929e-05/0.8373, allocations: 4 kB / 0.5152 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.8373, allocations: 41.41 kB / 0.5153 GB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.8373, allocations: 3.938 kB / 0.5153 GB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007887/0.8381, allocations: 239 kB / 0.5155 GB, free: 10.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.8383, allocations: 191 kB / 0.5157 GB, free: 9.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.8385, allocations: 183.6 kB / 0.5158 GB, free: 9.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.8386, allocations: 29.27 kB / 0.5159 GB, free: 9.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.8386, allocations: 102.6 kB / 0.516 GB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.8387, allocations: 19.02 kB / 0.516 GB, free: 9.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.8387, allocations: 3.562 kB / 0.516 GB, free: 9.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.8388, allocations: 326.5 kB / 0.5163 GB, free: 9.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.8389, allocations: 26.55 kB / 0.5163 GB, free: 9.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.8391, allocations: 133.1 kB / 0.5165 GB, free: 9.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.8394, allocations: 166 kB / 0.5166 GB, free: 9.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.8394, allocations: 0 / 0.5166 GB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003619/0.8398, allocations: 171.6 kB / 0.5168 GB, free: 8.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.8398, allocations: 7.688 kB / 0.5168 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8399, allocations: 3.844 kB / 0.5168 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.8399, allocations: 3.844 kB / 0.5168 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.8401, allocations: 38.7 kB / 0.5168 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.8401, allocations: 4.547 kB / 0.5168 GB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.8403, allocations: 11.62 kB / 0.5168 GB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.8403, allocations: 11.64 kB / 0.5169 GB, free: 8.914 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.8405, allocations: 151.8 kB / 0.517 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.8409, allocations: 143.8 kB / 0.5171 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.374e-05/0.841, allocations: 23.7 kB / 0.5172 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.841, allocations: 3.906 kB / 0.5172 GB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.841, allocations: 8.281 kB / 0.5172 GB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.841, allocations: 4.031 kB / 0.5172 GB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003707/0.8414, allocations: 222 kB / 0.5174 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.8414, allocations: 0 / 0.5174 GB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.8416, allocations: 42.69 kB / 0.5174 GB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.8416, allocations: 7.781 kB / 0.5174 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.8417, allocations: 0 / 0.5174 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.8417, allocations: 3.969 kB / 0.5174 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8417, allocations: 0 / 0.5174 GB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000562/0.8423, allocations: 381 kB / 0.5178 GB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.8424, allocations: 111.6 kB / 0.5179 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.8425, allocations: 0 / 0.5179 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.8427, allocations: 18.95 kB / 0.5179 GB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.8427, allocations: 0 / 0.5179 GB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.8428, allocations: 11.7 kB / 0.5179 GB, free: 8.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.8429, allocations: 133.8 kB / 0.5181 GB, free: 7.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.8429, allocations: 4 kB / 0.5181 GB, free: 7.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.8434, allocations: 23.22 kB / 0.5181 GB, free: 7.984 MB / 330.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 (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.0001616/0.8436, allocations: 106.4 kB / 0.5182 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003914/0.844, allocations: 118.8 kB / 0.5183 GB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.844, allocations: 0 / 0.5183 GB, free: 7.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-05/0.8441, allocations: 19.39 kB / 0.5183 GB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.845, allocations: 99.97 kB / 0.5184 GB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.8465, allocations: 496.3 kB / 0.5189 GB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.8469, allocations: 0.7307 MB / 0.5196 GB, free: 6.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.8469, allocations: 19.03 kB / 0.5196 GB, free: 6.766 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.8469, allocations: 0 / 0.5196 GB, free: 6.766 MB / 330.7 MB Notification: Performance of Templates: time 0.004552/0.8515, allocations: 1.749 MB / 0.5213 GB, free: 5.883 MB / 330.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