Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.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) 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.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002172/0.002172, allocations: 180.5 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.947/3.947, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.00175/0.00175, allocations: 82.42 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007591/0.0007596, allocations: 12 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6318, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8225, allocations: 82.84 MB / 458.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004195/0.823, allocations: 75.95 kB / 458.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.9491, allocations: 42.89 MB / 0.4898 GB, free: 2.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.9492, allocations: 0 / 0.4898 GB, free: 2.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.427e-05/0.9493, allocations: 11.94 kB / 0.4898 GB, free: 2.895 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002624/0.9519, allocations: 1.052 MB / 0.4908 GB, free: 1.738 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.387e-05/0.952, allocations: 8.031 kB / 0.4908 GB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.9523, allocations: 80.09 kB / 0.4909 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.9534, allocations: 396.5 kB / 0.4913 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.205e-05/0.9534, allocations: 16.56 kB / 0.4913 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.9536, allocations: 20.38 kB / 0.4913 GB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.9546, allocations: 302.3 kB / 0.4916 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.9547, allocations: 3.938 kB / 0.4916 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.9548, allocations: 11.98 kB / 0.4916 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.9548, allocations: 4 kB / 0.4916 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.9553, allocations: 152.2 kB / 0.4918 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5388/1.494, allocations: 0.7552 MB / 0.4925 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.496, allocations: 214.1 kB / 0.4927 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.498, allocations: 195.7 kB / 0.4929 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.095e-05/1.498, allocations: 1.594 kB / 0.4929 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/1.499, allocations: 443.4 kB / 0.4933 GB, free: 101.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 8.315e-06/1.5, allocations: 0 / 0.4933 GB, free: 101.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.004852/1.504, allocations: 1.07 MB / 0.4944 GB, free: 101.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003892/1.505, allocations: 283.5 kB / 0.4946 GB, free: 101.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/1.51, allocations: 0.9492 MB / 0.4956 GB, free: 101 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003052/1.51, allocations: 40.56 kB / 0.4956 GB, free: 101 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/1.51, allocations: 129.6 kB / 0.4957 GB, free: 100.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/1.511, allocations: 63.56 kB / 0.4958 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/1.511, allocations: 9.594 kB / 0.4958 GB, free: 100.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/1.511, allocations: 335.7 kB / 0.4961 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/1.512, allocations: 147.4 kB / 0.4962 GB, free: 100.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000787/1.513, allocations: 172 kB / 0.4964 GB, free: 100.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/1.515, allocations: 0.7315 MB / 0.4971 GB, free: 100 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.515, allocations: 4.125 kB / 0.4971 GB, free: 100 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002827/1.517, allocations: 0.8756 MB / 0.498 GB, free: 99.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002809/1.518, allocations: 244.6 kB / 0.4982 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/1.518, allocations: 0.9375 kB / 0.4982 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.574e-05/1.518, allocations: 2.031 kB / 0.4982 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/1.518, allocations: 12.7 kB / 0.4982 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.518, allocations: 3.453 kB / 0.4982 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/1.519, allocations: 33.62 kB / 0.4983 GB, free: 99.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007022/1.519, allocations: 263.2 kB / 0.4985 GB, free: 99.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.001732/1.521, allocations: 0.6065 MB / 0.4991 GB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/1.522, allocations: 80.39 kB / 0.4992 GB, free: 99.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/1.522, allocations: 127.9 kB / 0.4993 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.522, allocations: 8.906 kB / 0.4993 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.522, allocations: 5.438 kB / 0.4993 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.523, allocations: 1.375 kB / 0.4993 GB, free: 98.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.528, allocations: 1.555 MB / 0.5008 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.528, allocations: 3.719 kB / 0.5008 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/1.528, allocations: 7.594 kB / 0.5009 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/1.528, allocations: 5.688 kB / 0.5009 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/1.528, allocations: 47.88 kB / 0.5009 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.528, allocations: 1.25 kB / 0.5009 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.528, allocations: 1.875 kB / 0.5009 GB, free: 98.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/1.531, allocations: 1.077 MB / 0.502 GB, free: 97.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/1.533, allocations: 434.6 kB / 0.5024 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/1.533, allocations: 20.19 kB / 0.5024 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/1.534, allocations: 32.86 kB / 0.5024 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/1.535, allocations: 71.38 kB / 0.5025 GB, free: 97.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007479/1.535, allocations: 273.3 kB / 0.5028 GB, free: 97.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002801/1.538, allocations: 0.6917 MB / 0.5034 GB, free: 97.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.538, allocations: 3.656 kB / 0.5034 GB, free: 97.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001276/1.54, allocations: 90.34 kB / 0.5035 GB, free: 97.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0004397/1.54, allocations: 143.4 kB / 0.5037 GB, free: 97.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002182/1.542, allocations: 0.9124 MB / 0.5045 GB, free: 96.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.542, allocations: 0.5469 kB / 0.5045 GB, free: 96.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/1.543, allocations: 0.7752 MB / 0.5053 GB, free: 96.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.546, allocations: 237.1 kB / 0.5055 GB, free: 96.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.55, allocations: 1.528 MB / 0.507 GB, free: 95.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.552, allocations: 0.9441 MB / 0.5079 GB, free: 94.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/1.552, allocations: 54.56 kB / 0.508 GB, free: 94.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.204e-06/1.552, allocations: 0 / 0.508 GB, free: 94.85 MB / 378.7 MB Notification: Performance of Templates: time 0.02544/1.578, allocations: 8.012 MB / 0.5158 GB, free: 94 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches