Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 195.4 kB / 18.06 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 245.4 MB, free: 6.539 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007026/0.0007025, allocations: 100.6 kB / 297.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002131, allocations: 8 kB / 357.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1869, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08836/0.2753, allocations: 84.43 MB / 493.1 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.2756, allocations: 67.97 kB / 493.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2151/0.4906, allocations: 43.49 MB / 0.5241 GB, free: 89.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4907, allocations: 0 / 0.5241 GB, free: 89.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.4907, allocations: 8 kB / 0.5241 GB, free: 89.09 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.000758/0.4915, allocations: 1.051 MB / 0.5251 GB, free: 87.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4915, allocations: 16.03 kB / 0.5251 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.4916, allocations: 76 kB / 0.5252 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.492, allocations: 401.4 kB / 0.5256 GB, free: 87.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.492, allocations: 12.56 kB / 0.5256 GB, free: 87.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.4921, allocations: 16.38 kB / 0.5256 GB, free: 87.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.4925, allocations: 306.2 kB / 0.5259 GB, free: 87.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.4926, allocations: 0 / 0.5259 GB, free: 87.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.4926, allocations: 15.52 kB / 0.5259 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4926, allocations: 4 kB / 0.5259 GB, free: 87.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.4929, allocations: 148.2 kB / 0.5261 GB, free: 86.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.4939, allocations: 0.7534 MB / 0.5268 GB, free: 86.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.4942, allocations: 222.3 kB / 0.527 GB, free: 85.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.4945, allocations: 200.6 kB / 0.5272 GB, free: 85.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4945, allocations: 4 kB / 0.5272 GB, free: 85.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.4949, allocations: 443.5 kB / 0.5276 GB, free: 85.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.495, allocations: 0 / 0.5276 GB, free: 85.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001346/0.4963, allocations: 1.07 MB / 0.5287 GB, free: 84.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.4964, allocations: 285 kB / 0.5289 GB, free: 83.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008922/0.4973, allocations: 0.9529 MB / 0.5299 GB, free: 82.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.4973, allocations: 37.7 kB / 0.5299 GB, free: 82.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.4974, allocations: 122 kB / 0.53 GB, free: 82.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.4975, allocations: 67.11 kB / 0.5301 GB, free: 82.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.4975, allocations: 4 kB / 0.5301 GB, free: 82.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.4976, allocations: 338.8 kB / 0.5304 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.4978, allocations: 140.2 kB / 0.5305 GB, free: 82.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4981, allocations: 181.3 kB / 0.5307 GB, free: 81.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005317/0.4986, allocations: 0.7254 MB / 0.5314 GB, free: 81.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4986, allocations: 0 / 0.5314 GB, free: 81.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009649/0.4996, allocations: 0.8814 MB / 0.5323 GB, free: 80.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.4997, allocations: 249.7 kB / 0.5325 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4997, allocations: 7.938 kB / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4997, allocations: 0 / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.4997, allocations: 8 kB / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4998, allocations: 0 / 0.5325 GB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.5, allocations: 31.89 kB / 0.5326 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.5002, allocations: 268.4 kB / 0.5328 GB, free: 79.59 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.0004607/0.5007, allocations: 0.6196 MB / 0.5334 GB, free: 78.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.5007, allocations: 75.16 kB / 0.5335 GB, free: 78.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.5009, allocations: 126.9 kB / 0.5336 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.5009, allocations: 0 / 0.5336 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5009, allocations: 8 kB / 0.5336 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5009, allocations: 0 / 0.5336 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.5024, allocations: 1.553 MB / 0.5352 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.5024, allocations: 0 / 0.5352 GB, free: 77.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.365e-05/0.5025, allocations: 11.98 kB / 0.5352 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5025, allocations: 0 / 0.5352 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.5025, allocations: 51.17 kB / 0.5352 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5025, allocations: 0 / 0.5352 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5025, allocations: 0 / 0.5352 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.5036, allocations: 1.094 MB / 0.5363 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.5041, allocations: 423.8 kB / 0.5367 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.5042, allocations: 20 kB / 0.5367 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.5045, allocations: 35.97 kB / 0.5367 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5046, allocations: 67.92 kB / 0.5368 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/0.5048, allocations: 271.7 kB / 0.5371 GB, free: 75.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006845/0.5055, allocations: 0.6938 MB / 0.5377 GB, free: 74.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5055, allocations: 0 / 0.5377 GB, free: 74.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003663/0.5059, allocations: 92 kB / 0.5378 GB, free: 74.24 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.0001466/0.506, allocations: 143.2 kB / 0.538 GB, free: 74.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.5068, allocations: 0.9131 MB / 0.5389 GB, free: 73.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5069, allocations: 0 / 0.5389 GB, free: 73.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000453/0.5073, allocations: 0.7648 MB / 0.5396 GB, free: 72.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008592/0.5082, allocations: 239.6 kB / 0.5398 GB, free: 72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.5098, allocations: 1.533 MB / 0.5413 GB, free: 70.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.5102, allocations: 0.9519 MB / 0.5423 GB, free: 69.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5103, allocations: 51.34 kB / 0.5423 GB, free: 69.41 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5103, allocations: 0 / 0.5423 GB, free: 69.41 MB / 378.7 MB Notification: Performance of Templates: time 0.007415/0.5177, allocations: 8.003 MB / 0.5501 GB, free: 61.29 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches