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.0009699/0.0009699, allocations: 175.2 kB / 17.4 MB, free: 4.422 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.395/1.395, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.001088/0.001088, allocations: 99.67 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 23.92 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 50.39 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1091/0.3472, allocations: 83.73 MB / 486.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.3475, allocations: 68.5 kB / 486.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2793/0.6268, allocations: 43.44 MB / 0.5176 GB, free: 96.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6268, allocations: 0 / 0.5176 GB, free: 96.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.6269, allocations: 10.19 kB / 0.5176 GB, free: 96.27 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.001109/0.628, allocations: 1.049 MB / 0.5186 GB, free: 95.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.628, allocations: 7.281 kB / 0.5186 GB, free: 95.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.6282, allocations: 83.31 kB / 0.5187 GB, free: 95.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.6287, allocations: 397.8 kB / 0.5191 GB, free: 94.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.6287, allocations: 15.22 kB / 0.5191 GB, free: 94.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.496e-05/0.6288, allocations: 18.81 kB / 0.5191 GB, free: 94.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.6293, allocations: 300.2 kB / 0.5194 GB, free: 94.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.6294, allocations: 0 / 0.5194 GB, free: 94.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.6294, allocations: 15.61 kB / 0.5194 GB, free: 94.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6294, allocations: 0 / 0.5194 GB, free: 94.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.6297, allocations: 155.1 kB / 0.5195 GB, free: 94.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.6309, allocations: 0.7631 MB / 0.5203 GB, free: 94.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.6312, allocations: 210.6 kB / 0.5205 GB, free: 93.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.6315, allocations: 196.7 kB / 0.5207 GB, free: 93.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.6315, allocations: 7.844 kB / 0.5207 GB, free: 93.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.632, allocations: 441 kB / 0.5211 GB, free: 93.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.632, allocations: 0 / 0.5211 GB, free: 93.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001376/0.6334, allocations: 1.06 MB / 0.5221 GB, free: 92.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.6335, allocations: 288.9 kB / 0.5224 GB, free: 91.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.6346, allocations: 0.9529 MB / 0.5233 GB, free: 90.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.6346, allocations: 33.7 kB / 0.5234 GB, free: 90.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.6347, allocations: 122 kB / 0.5235 GB, free: 90.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.6348, allocations: 70.16 kB / 0.5236 GB, free: 90.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.6348, allocations: 8 kB / 0.5236 GB, free: 90.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.489e-05/0.6349, allocations: 334.8 kB / 0.5239 GB, free: 90.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.6352, allocations: 140.2 kB / 0.524 GB, free: 90.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.6354, allocations: 187.8 kB / 0.5242 GB, free: 89.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.636, allocations: 0.7379 MB / 0.5249 GB, free: 89.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.636, allocations: 0 / 0.5249 GB, free: 89.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009368/0.637, allocations: 0.885 MB / 0.5258 GB, free: 88.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.6371, allocations: 249.6 kB / 0.526 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6371, allocations: 4.094 kB / 0.526 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.6371, allocations: 3.984 kB / 0.526 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.811e-05/0.6371, allocations: 8 kB / 0.526 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6372, allocations: 0 / 0.526 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.6374, allocations: 39.81 kB / 0.5261 GB, free: 87.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.6376, allocations: 264.5 kB / 0.5263 GB, free: 87.52 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.0005206/0.6381, allocations: 0.6122 MB / 0.5269 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.6382, allocations: 75.16 kB / 0.527 GB, free: 86.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.6384, allocations: 126.9 kB / 0.5271 GB, free: 86.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6384, allocations: 4 kB / 0.5271 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6384, allocations: 3.938 kB / 0.5271 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.6385, allocations: 0 / 0.5271 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.6401, allocations: 1.544 MB / 0.5286 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6401, allocations: 0 / 0.5286 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.6401, allocations: 8 kB / 0.5286 GB, free: 84.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.6401, allocations: 8 kB / 0.5286 GB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-05/0.6402, allocations: 43.97 kB / 0.5287 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6402, allocations: 0 / 0.5287 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6402, allocations: 0 / 0.5287 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.6416, allocations: 1.101 MB / 0.5298 GB, free: 83.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.6422, allocations: 427.8 kB / 0.5302 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6423, allocations: 23.98 kB / 0.5302 GB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.6426, allocations: 27.98 kB / 0.5302 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.6428, allocations: 71.91 kB / 0.5303 GB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/0.6431, allocations: 267.8 kB / 0.5305 GB, free: 82.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008799/0.644, allocations: 0.6899 MB / 0.5312 GB, free: 82.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.644, allocations: 0 / 0.5312 GB, free: 82.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.6445, allocations: 92 kB / 0.5313 GB, free: 82.18 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.000176/0.6447, allocations: 149.1 kB / 0.5314 GB, free: 82.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008721/0.6455, allocations: 0.9167 MB / 0.5323 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6456, allocations: 3.938 kB / 0.5323 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.6461, allocations: 0.7607 MB / 0.5331 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.647, allocations: 243.5 kB / 0.5333 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.6489, allocations: 1.46 MB / 0.5347 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.6494, allocations: 0.9441 MB / 0.5357 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002726/0.6497, allocations: 97.27 kB / 0.5358 GB, free: 77.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.6498, allocations: 43.36 kB / 0.5358 GB, free: 77.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6498, allocations: 0 / 0.5358 GB, free: 77.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01347/0.6633, allocations: 11.99 MB / 0.5475 GB, free: 65.32 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/jenkins1/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