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.0009323/0.0009323, allocations: 182.9 kB / 18.04 MB, free: 3.754 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.327/1.327, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007571/0.0007571, allocations: 85.52 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1955, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08507/0.2806, allocations: 82.84 MB / 459.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.2809, allocations: 67.97 kB / 459.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08598/0.3669, allocations: 42.9 MB / 0.491 GB, free: 2.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3669, allocations: 0 / 0.491 GB, free: 2.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.3669, allocations: 8 kB / 0.4911 GB, free: 2.797 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.001328/0.3683, allocations: 1.056 MB / 0.4921 GB, free: 1.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3683, allocations: 8.031 kB / 0.4921 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.3685, allocations: 76.09 kB / 0.4922 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.3691, allocations: 392.5 kB / 0.4925 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3692, allocations: 16.56 kB / 0.4926 GB, free: 1.117 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/0.3693, allocations: 24.36 kB / 0.4926 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.3699, allocations: 298.3 kB / 0.4929 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3699, allocations: 0 / 0.4929 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.37, allocations: 15.94 kB / 0.4929 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.37, allocations: 0 / 0.4929 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.3703, allocations: 160.2 kB / 0.493 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1617/0.532, allocations: 0.7567 MB / 0.4938 GB, free: 102.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.5328, allocations: 215.5 kB / 0.494 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.5333, allocations: 198.1 kB / 0.4942 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.5333, allocations: 1.5 kB / 0.4942 GB, free: 102.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.534, allocations: 437.8 kB / 0.4946 GB, free: 102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.597e-06/0.534, allocations: 2.625 kB / 0.4946 GB, free: 102 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001824/0.5358, allocations: 1.067 MB / 0.4956 GB, free: 101.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.5359, allocations: 283.5 kB / 0.4959 GB, free: 101.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.5374, allocations: 0.9461 MB / 0.4968 GB, free: 101.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.794e-05/0.5374, allocations: 35.98 kB / 0.4969 GB, free: 101 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.5375, allocations: 134.6 kB / 0.497 GB, free: 101 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.5376, allocations: 63.92 kB / 0.497 GB, free: 100.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.5376, allocations: 9.906 kB / 0.4971 GB, free: 100.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.916e-05/0.5377, allocations: 340 kB / 0.4974 GB, free: 100.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.538, allocations: 139.8 kB / 0.4975 GB, free: 100.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.5383, allocations: 177.2 kB / 0.4977 GB, free: 100.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.5389, allocations: 0.7338 MB / 0.4984 GB, free: 100.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5389, allocations: 0 / 0.4984 GB, free: 100.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001178/0.5401, allocations: 0.8735 MB / 0.4993 GB, free: 99.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.5402, allocations: 246.9 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.5403, allocations: 2.031 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.29e-05/0.5403, allocations: 1.5 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.5404, allocations: 13.12 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5404, allocations: 1.406 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.5407, allocations: 36.5 kB / 0.4995 GB, free: 99.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.541, allocations: 263.8 kB / 0.4998 GB, free: 99.5 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.0005986/0.5416, allocations: 0.6147 MB / 0.5004 GB, free: 99.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5417, allocations: 79.75 kB / 0.5005 GB, free: 99.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.5419, allocations: 136.4 kB / 0.5006 GB, free: 98.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5419, allocations: 1.5 kB / 0.5006 GB, free: 98.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.5419, allocations: 3.625 kB / 0.5006 GB, free: 98.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5419, allocations: 0 / 0.5006 GB, free: 98.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.5439, allocations: 1.553 MB / 0.5021 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5439, allocations: 7.656 kB / 0.5021 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.5439, allocations: 8.641 kB / 0.5021 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.5439, allocations: 0 / 0.5021 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.544, allocations: 47.28 kB / 0.5022 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.544, allocations: 2.875 kB / 0.5022 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.544, allocations: 3.25 kB / 0.5022 GB, free: 98.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.5454, allocations: 1.084 MB / 0.5032 GB, free: 97.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005321/0.5459, allocations: 422.8 kB / 0.5036 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.546, allocations: 20.56 kB / 0.5037 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.5463, allocations: 30.97 kB / 0.5037 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.5465, allocations: 75.53 kB / 0.5038 GB, free: 97.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.5467, allocations: 271.5 kB / 0.504 GB, free: 97.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008077/0.5475, allocations: 0.6882 MB / 0.5047 GB, free: 97.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.5475, allocations: 0 / 0.5047 GB, free: 97.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004452/0.5479, allocations: 93.11 kB / 0.5048 GB, free: 97.52 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.0001802/0.5481, allocations: 142.1 kB / 0.5049 GB, free: 97.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.549, allocations: 0.9165 MB / 0.5058 GB, free: 96.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.549, allocations: 0 / 0.5058 GB, free: 96.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.5495, allocations: 0.7642 MB / 0.5066 GB, free: 96.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009187/0.5504, allocations: 247.3 kB / 0.5068 GB, free: 96.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.5524, allocations: 1.459 MB / 0.5082 GB, free: 95.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.553, allocations: 0.9489 MB / 0.5092 GB, free: 94.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002479/0.5532, allocations: 94.39 kB / 0.5092 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.65e-05/0.5533, allocations: 44.52 kB / 0.5093 GB, free: 94.87 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5533, allocations: 4 kB / 0.5093 GB, free: 94.86 MB / 378.7 MB Notification: Performance of Templates: time 0.01481/0.5682, allocations: 11.98 MB / 0.521 GB, free: 91.97 MB / 378.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/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_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches