Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001778/0.001778, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008365/0.0008366, allocations: 90.69 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.324e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09206, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4051, allocations: 82.7 MB / 452.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4054, allocations: 66.91 kB / 452.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08346/0.4888, allocations: 43.22 MB / 496 MB, free: 0.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4889, allocations: 3.938 kB / 496 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.979e-05/0.4889, allocations: 8 kB / 496 MB, free: 0.9453 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001104/0.49, allocations: 0.9474 MB / 497 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4901, allocations: 15.97 kB / 497 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.4903, allocations: 75.16 kB / 497.1 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.4908, allocations: 364 kB / 497.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.4909, allocations: 16.12 kB / 497.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.4909, allocations: 20 kB / 497.4 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.4915, allocations: 287.2 kB / 497.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.4915, allocations: 0 / 497.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.4916, allocations: 12 kB / 497.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.4916, allocations: 7.953 kB / 497.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002853/0.4919, allocations: 148.6 kB / 497.9 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.4932, allocations: 0.7667 MB / 498.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4935, allocations: 210.5 kB / 498.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.4939, allocations: 192.8 kB / 499.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4939, allocations: 0 / 499.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006022/0.4945, allocations: 434 kB / 499.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.843e-06/0.4945, allocations: 4 kB / 499.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001285/0.4958, allocations: 0.8579 MB / 0.4886 GB, free: 12.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.496, allocations: 281 kB / 0.4889 GB, free: 11.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4971, allocations: 0.8352 MB / 0.4897 GB, free: 11.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.4972, allocations: 37.7 kB / 0.4897 GB, free: 11.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.4973, allocations: 126 kB / 0.4898 GB, free: 10.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.4974, allocations: 63.19 kB / 0.4899 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.4974, allocations: 12 kB / 0.4899 GB, free: 10.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4976, allocations: 334.8 kB / 0.4902 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.4978, allocations: 136.2 kB / 0.4904 GB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.4981, allocations: 170.2 kB / 0.4905 GB, free: 10.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.4984, allocations: 365.5 kB / 0.4909 GB, free: 9.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4985, allocations: 3.953 kB / 0.4909 GB, free: 9.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001218/0.4997, allocations: 0.8113 MB / 0.4917 GB, free: 8.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.4998, allocations: 245.6 kB / 0.4919 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4999, allocations: 0 / 0.4919 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4999, allocations: 0 / 0.4919 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.4999, allocations: 15.92 kB / 0.4919 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4999, allocations: 0 / 0.4919 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.5002, allocations: 43.92 kB / 0.492 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.5005, allocations: 263.8 kB / 0.4922 GB, free: 8.375 MB / 378.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.0003196/0.5008, allocations: 382.5 kB / 0.4926 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.501, allocations: 79.11 kB / 0.4927 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001976/0.5012, allocations: 127 kB / 0.4928 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5012, allocations: 7.938 kB / 0.4928 GB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5012, allocations: 3.938 kB / 0.4928 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5012, allocations: 0 / 0.4928 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.503, allocations: 1.495 MB / 0.4943 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.503, allocations: 0 / 0.4943 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.5031, allocations: 4 kB / 0.4943 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5031, allocations: 0 / 0.4943 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/0.5032, allocations: 47.95 kB / 0.4943 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5032, allocations: 7.938 kB / 0.4943 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5032, allocations: 0 / 0.4943 GB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.5045, allocations: 1.02 MB / 0.4953 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/0.5052, allocations: 427.8 kB / 0.4957 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5053, allocations: 24 kB / 0.4957 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.5056, allocations: 31.83 kB / 0.4958 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.5058, allocations: 75.91 kB / 0.4958 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002808/0.5061, allocations: 263.6 kB / 0.4961 GB, free: 4.152 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009301/0.507, allocations: 0.6822 MB / 0.4968 GB, free: 3.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.507, allocations: 4 kB / 0.4968 GB, free: 3.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.5075, allocations: 92 kB / 0.4968 GB, free: 3.383 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]) * 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.0002234/0.5077, allocations: 145.4 kB / 0.497 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009167/0.5086, allocations: 0.9014 MB / 0.4979 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5086, allocations: 3.938 kB / 0.4979 GB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006548/0.5093, allocations: 0.7648 MB / 0.4986 GB, free: 1.363 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5103, allocations: 231.7 kB / 0.4988 GB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.512, allocations: 1.068 MB / 0.4999 GB, free: 48 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.5127, allocations: 0.9595 MB / 0.5008 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.513, allocations: 93.12 kB / 0.5009 GB, free: 14.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.5131, allocations: 43.38 kB / 0.5009 GB, free: 14.93 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5131, allocations: 0 / 0.5009 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01524/0.5283, allocations: 11.92 MB / 0.5126 GB, free: 2.82 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches