Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001054/0.001054, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008198/0.0008199, allocations: 95.22 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.583e-05/1.585e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09832, allocations: 51.49 MB / 395.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3069/0.4052, allocations: 83.77 MB / 478.9 MB, free: 9.223 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.4055, allocations: 68.69 kB / 479 MB, free: 9.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07853/0.4841, allocations: 43.5 MB / 0.5103 GB, free: 3.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4841, allocations: 0 / 0.5103 GB, free: 3.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4841, allocations: 8 kB / 0.5103 GB, free: 3.48 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.000899/0.485, allocations: 0.9481 MB / 0.5112 GB, free: 2.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4851, allocations: 12.03 kB / 0.5112 GB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.4852, allocations: 71.16 kB / 0.5113 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.4857, allocations: 368 kB / 0.5116 GB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4857, allocations: 12 kB / 0.5116 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.4858, allocations: 12 kB / 0.5116 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002498/0.486, allocations: 140.4 kB / 0.5118 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.4864, allocations: 274.9 kB / 0.512 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.4865, allocations: 0 / 0.512 GB, free: 1.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/0.4865, allocations: 15.95 kB / 0.5121 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4865, allocations: 2.719 kB / 0.5121 GB, free: 1.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.4876, allocations: 0.7316 MB / 0.5128 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.4879, allocations: 202.5 kB / 0.513 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.4882, allocations: 180.8 kB / 0.5131 GB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4882, allocations: 4 kB / 0.5131 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.4886, allocations: 421.8 kB / 0.5135 GB, free: 15.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.482e-06/0.4887, allocations: 0 / 0.5135 GB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009577/0.4896, allocations: 0.6046 MB / 0.5141 GB, free: 15.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.4898, allocations: 281 kB / 0.5144 GB, free: 14.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.4907, allocations: 0.7922 MB / 0.5152 GB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.4908, allocations: 37.7 kB / 0.5152 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.4909, allocations: 134 kB / 0.5153 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.491, allocations: 63.27 kB / 0.5154 GB, free: 13.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.491, allocations: 4 kB / 0.5154 GB, free: 13.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4911, allocations: 338.8 kB / 0.5157 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.4913, allocations: 128.2 kB / 0.5158 GB, free: 13.44 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.4916, allocations: 154.2 kB / 0.516 GB, free: 13.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.4917, allocations: 119.8 kB / 0.5161 GB, free: 13.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4918, allocations: 4 kB / 0.5161 GB, free: 13.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008512/0.4926, allocations: 0.5741 MB / 0.5167 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.4928, allocations: 237.6 kB / 0.5169 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4928, allocations: 4 kB / 0.5169 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4928, allocations: 0 / 0.5169 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.4928, allocations: 7.984 kB / 0.5169 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4928, allocations: 7.984 kB / 0.5169 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.4931, allocations: 31.89 kB / 0.5169 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.4934, allocations: 267.8 kB / 0.5172 GB, free: 11.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,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,$PRE.bUF3S1.inertialDelaySensitive.y,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 () * 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.0002897/0.4937, allocations: 383.7 kB / 0.5176 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4938, allocations: 79.11 kB / 0.5176 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.494, allocations: 129 kB / 0.5178 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.494, allocations: 8 kB / 0.5178 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.494, allocations: 0 / 0.5178 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.494, allocations: 0 / 0.5178 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.4955, allocations: 1.193 MB / 0.5189 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4955, allocations: 0 / 0.5189 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.4955, allocations: 11.89 kB / 0.519 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4955, allocations: 0 / 0.519 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.4956, allocations: 47.97 kB / 0.519 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4956, allocations: 0 / 0.519 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4956, allocations: 0 / 0.519 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.4966, allocations: 0.7489 MB / 0.5197 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005856/0.4972, allocations: 435.8 kB / 0.5201 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.4973, allocations: 23.95 kB / 0.5202 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.4976, allocations: 23.89 kB / 0.5202 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.4978, allocations: 75.91 kB / 0.5203 GB, free: 8.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002454/0.498, allocations: 271.5 kB / 0.5205 GB, free: 8.453 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007794/0.4988, allocations: 0.6509 MB / 0.5212 GB, free: 7.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4988, allocations: 4.688 kB / 0.5212 GB, free: 7.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.4992, allocations: 88 kB / 0.5212 GB, free: 7.715 MB / 394.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]) * 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.00019/0.4994, allocations: 133.5 kB / 0.5214 GB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008464/0.5003, allocations: 0.8741 MB / 0.5222 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5003, allocations: 0 / 0.5222 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.5009, allocations: 0.7531 MB / 0.523 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5019, allocations: 226.7 kB / 0.5232 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.5035, allocations: 1.057 MB / 0.5242 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.5041, allocations: 0.9559 MB / 0.5251 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.5043, allocations: 91.09 kB / 0.5252 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.092e-05/0.5044, allocations: 47.36 kB / 0.5253 GB, free: 3.34 MB / 394.7 MB Notification: Performance of SimCode: time 3.897e-06/0.5044, allocations: 0 / 0.5253 GB, free: 3.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01556/0.52, allocations: 11.6 MB / 0.5366 GB, free: 7.613 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches