Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 180.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.0008028, allocations: 91.48 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2193, allocations: 50.41 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3266, allocations: 83.69 MB / 485.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.3269, allocations: 75.91 kB / 485.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3064/0.6333, allocations: 43.43 MB / 0.5163 GB, free: 96.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6334, allocations: 0 / 0.5163 GB, free: 96.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.6334, allocations: 7.312 kB / 0.5163 GB, free: 96.47 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.001017/0.6344, allocations: 1.064 MB / 0.5173 GB, free: 95.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6345, allocations: 10.53 kB / 0.5174 GB, free: 95.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6346, allocations: 86.95 kB / 0.5174 GB, free: 95.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.6351, allocations: 368.6 kB / 0.5178 GB, free: 95.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.6352, allocations: 12.12 kB / 0.5178 GB, free: 95.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.6352, allocations: 15.84 kB / 0.5178 GB, free: 95.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.6358, allocations: 297.8 kB / 0.5181 GB, free: 95.01 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6358, allocations: 0 / 0.5181 GB, free: 95.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.6358, allocations: 11.91 kB / 0.5181 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.6358, allocations: 3.969 kB / 0.5181 GB, free: 95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.6361, allocations: 155.6 kB / 0.5183 GB, free: 94.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.6374, allocations: 0.7585 MB / 0.519 GB, free: 94.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003412/0.6377, allocations: 218.5 kB / 0.5192 GB, free: 94.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.6377, allocations: 8 kB / 0.5192 GB, free: 94.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.6382, allocations: 437.8 kB / 0.5196 GB, free: 93.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.6382, allocations: 4 kB / 0.5196 GB, free: 93.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001476/0.6397, allocations: 1.324 MB / 0.5209 GB, free: 92.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.6398, allocations: 281 kB / 0.5212 GB, free: 91.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.6408, allocations: 0.8429 MB / 0.522 GB, free: 91.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.6408, allocations: 37.7 kB / 0.5221 GB, free: 90.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.6409, allocations: 129.9 kB / 0.5222 GB, free: 90.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.521e-05/0.641, allocations: 63.08 kB / 0.5222 GB, free: 90.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.641, allocations: 8 kB / 0.5222 GB, free: 90.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.663e-05/0.6411, allocations: 334.8 kB / 0.5226 GB, free: 90.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.6414, allocations: 140.2 kB / 0.5227 GB, free: 90.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.6416, allocations: 184.6 kB / 0.5229 GB, free: 90.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.6419, allocations: 369.5 kB / 0.5232 GB, free: 89.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.642, allocations: 0 / 0.5232 GB, free: 89.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009179/0.6429, allocations: 0.8304 MB / 0.524 GB, free: 88.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.643, allocations: 241.5 kB / 0.5243 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.643, allocations: 7.984 kB / 0.5243 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.643, allocations: 0 / 0.5243 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.6431, allocations: 8 kB / 0.5243 GB, free: 88.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.6431, allocations: 4.094 kB / 0.5243 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.6433, allocations: 31.92 kB / 0.5243 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.6435, allocations: 268.5 kB / 0.5246 GB, free: 88.23 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.0004995/0.644, allocations: 0.6077 MB / 0.5252 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.6441, allocations: 79.06 kB / 0.5252 GB, free: 87.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.6443, allocations: 134.8 kB / 0.5254 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6443, allocations: 0 / 0.5254 GB, free: 87.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6443, allocations: 4 kB / 0.5254 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6443, allocations: 4 kB / 0.5254 GB, free: 87.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6458, allocations: 1.479 MB / 0.5268 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.6458, allocations: 0 / 0.5268 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.422e-05/0.6459, allocations: 7.938 kB / 0.5268 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6459, allocations: 7.891 kB / 0.5268 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.6459, allocations: 51.95 kB / 0.5269 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.646, allocations: 0 / 0.5269 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.646, allocations: 4 kB / 0.5269 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.647, allocations: 1.027 MB / 0.5279 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.6476, allocations: 435.5 kB / 0.5283 GB, free: 84.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6477, allocations: 23.95 kB / 0.5283 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.6479, allocations: 31.97 kB / 0.5284 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6481, allocations: 75.5 kB / 0.5284 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.6483, allocations: 271.8 kB / 0.5287 GB, free: 83.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00066/0.649, allocations: 0.6938 MB / 0.5294 GB, free: 83.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.649, allocations: 0 / 0.5294 GB, free: 83.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.6493, allocations: 88 kB / 0.5295 GB, free: 83 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.0001698/0.6495, allocations: 143.2 kB / 0.5296 GB, free: 82.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.6503, allocations: 0.9208 MB / 0.5305 GB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6503, allocations: 288 / 0.5305 GB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.6508, allocations: 0.7646 MB / 0.5312 GB, free: 80.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.6516, allocations: 231.8 kB / 0.5315 GB, free: 80.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.6531, allocations: 1.456 MB / 0.5329 GB, free: 79.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.6536, allocations: 0.9636 MB / 0.5338 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.6538, allocations: 89.34 kB / 0.5339 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.582e-05/0.6539, allocations: 43.36 kB / 0.534 GB, free: 78.16 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.6539, allocations: 0 / 0.534 GB, free: 78.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01179/0.6657, allocations: 11.92 MB / 0.5456 GB, free: 66.21 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches