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.001344/0.001344, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.323/1.323, allocations: 221.3 MB / 235.5 MB, free: 2.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007847/0.0007846, allocations: 89.92 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.145e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08412, allocations: 50.42 MB / 394.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.3536, allocations: 83.61 MB / 477.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.3538, allocations: 71.8 kB / 477.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08287/0.4367, allocations: 43.76 MB / 0.5095 GB, free: 8.234 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4367, allocations: 0 / 0.5095 GB, free: 8.234 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.4367, allocations: 8 kB / 0.5095 GB, free: 8.227 MB / 394.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.00108/0.4378, allocations: 0.9435 MB / 0.5104 GB, free: 7.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4379, allocations: 8.031 kB / 0.5104 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.4381, allocations: 79.06 kB / 0.5105 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.4386, allocations: 367.9 kB / 0.5108 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.4387, allocations: 16.19 kB / 0.5108 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.4388, allocations: 20 kB / 0.5109 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005293/0.4393, allocations: 299.1 kB / 0.5111 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4393, allocations: 0 / 0.5111 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.4394, allocations: 12 kB / 0.5112 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4394, allocations: 4 kB / 0.5112 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.4397, allocations: 144.6 kB / 0.5113 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.4411, allocations: 0.7667 MB / 0.512 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.4415, allocations: 218.4 kB / 0.5123 GB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.4418, allocations: 196.7 kB / 0.5124 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4418, allocations: 0 / 0.5124 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005206/0.4423, allocations: 433.8 kB / 0.5129 GB, free: 4.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.4423, allocations: 0 / 0.5129 GB, free: 4.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001244/0.4436, allocations: 0.858 MB / 0.5137 GB, free: 3.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.4437, allocations: 289 kB / 0.514 GB, free: 3.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.4448, allocations: 0.8274 MB / 0.5148 GB, free: 2.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.4449, allocations: 37.7 kB / 0.5148 GB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.445, allocations: 122 kB / 0.5149 GB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.4451, allocations: 63.25 kB / 0.515 GB, free: 2.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.4451, allocations: 16 kB / 0.515 GB, free: 2.172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4453, allocations: 330.8 kB / 0.5153 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.4455, allocations: 140.2 kB / 0.5155 GB, free: 1.703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.4458, allocations: 167.1 kB / 0.5156 GB, free: 1.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.4461, allocations: 365.5 kB / 0.516 GB, free: 1.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4461, allocations: 0 / 0.516 GB, free: 1.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001085/0.4472, allocations: 0.819 MB / 0.5168 GB, free: 260 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4474, allocations: 245.6 kB / 0.517 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4474, allocations: 0 / 0.517 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4474, allocations: 3.953 kB / 0.517 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.968e-05/0.4475, allocations: 8 kB / 0.517 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4475, allocations: 3.984 kB / 0.517 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4478, allocations: 35.83 kB / 0.517 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.448, allocations: 271.7 kB / 0.5173 GB, free: 15.65 MB / 410.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.0003/0.4483, allocations: 395.7 kB / 0.5177 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.4484, allocations: 75.16 kB / 0.5178 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.4486, allocations: 131 kB / 0.5179 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4487, allocations: 3.953 kB / 0.5179 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4487, allocations: 4 kB / 0.5179 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4487, allocations: 0 / 0.5179 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/0.4505, allocations: 1.487 MB / 0.5193 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4505, allocations: 0 / 0.5193 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.536e-05/0.4505, allocations: 8 kB / 0.5193 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4506, allocations: 0 / 0.5193 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.4506, allocations: 51.91 kB / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4506, allocations: 0 / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4506, allocations: 0 / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.4519, allocations: 1.02 MB / 0.5204 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006617/0.4526, allocations: 431.8 kB / 0.5208 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.4527, allocations: 20 kB / 0.5208 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.453, allocations: 39.78 kB / 0.5209 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.4532, allocations: 75.91 kB / 0.5209 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000275/0.4534, allocations: 267.5 kB / 0.5212 GB, free: 11.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008819/0.4543, allocations: 0.6861 MB / 0.5219 GB, free: 10.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4543, allocations: 0 / 0.5219 GB, free: 10.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004154/0.4548, allocations: 92 kB / 0.5219 GB, free: 10.65 MB / 410.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.0002051/0.455, allocations: 145.4 kB / 0.5221 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009334/0.4559, allocations: 0.9015 MB / 0.523 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4559, allocations: 0 / 0.523 GB, free: 9.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006016/0.4565, allocations: 0.7608 MB / 0.5237 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009692/0.4575, allocations: 226.7 kB / 0.5239 GB, free: 8.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.4592, allocations: 1.064 MB / 0.525 GB, free: 7.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.4598, allocations: 0.9597 MB / 0.5259 GB, free: 6.348 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.4601, allocations: 93.11 kB / 0.526 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.4602, allocations: 39.38 kB / 0.526 GB, free: 6.219 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4602, allocations: 0 / 0.526 GB, free: 6.219 MB / 410.7 MB Notification: Performance of Templates: time 0.01585/0.476, allocations: 11.92 MB / 0.5377 GB, free: 10.17 MB / 426.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