Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 200.7 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.5 MB / 245.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007623/0.0007624, allocations: 102.8 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.294, allocations: 51.3 MB / 409.4 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09589/0.39, allocations: 84.44 MB / 493.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.3903, allocations: 67.97 kB / 493.9 MB, free: 6.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2798/0.6701, allocations: 43.49 MB / 0.5248 GB, free: 88.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6702, allocations: 0 / 0.5248 GB, free: 88.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.207e-05/0.6702, allocations: 8 kB / 0.5248 GB, free: 88.98 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.001219/0.6714, allocations: 1.047 MB / 0.5258 GB, free: 87.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.6715, allocations: 12.03 kB / 0.5258 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.6717, allocations: 76 kB / 0.5259 GB, free: 87.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.6722, allocations: 401.4 kB / 0.5263 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.6723, allocations: 12.56 kB / 0.5263 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.6723, allocations: 20.38 kB / 0.5263 GB, free: 87.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.6729, allocations: 309.2 kB / 0.5266 GB, free: 87.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6729, allocations: 0 / 0.5266 GB, free: 87.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.67e-05/0.673, allocations: 12 kB / 0.5266 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.673, allocations: 4 kB / 0.5266 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.6733, allocations: 152.1 kB / 0.5268 GB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.6744, allocations: 0.7615 MB / 0.5275 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.6748, allocations: 218.3 kB / 0.5277 GB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.6751, allocations: 196.7 kB / 0.5279 GB, free: 85.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.6751, allocations: 0 / 0.5279 GB, free: 85.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.6755, allocations: 449.9 kB / 0.5283 GB, free: 85.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.6755, allocations: 0 / 0.5283 GB, free: 85.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001386/0.6769, allocations: 1.07 MB / 0.5294 GB, free: 84.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.677, allocations: 281 kB / 0.5296 GB, free: 83.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.6782, allocations: 0.9529 MB / 0.5306 GB, free: 82.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.6782, allocations: 33.7 kB / 0.5306 GB, free: 82.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.6783, allocations: 126 kB / 0.5307 GB, free: 82.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.6784, allocations: 70.39 kB / 0.5308 GB, free: 82.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.6784, allocations: 4 kB / 0.5308 GB, free: 82.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.155e-05/0.6785, allocations: 338.8 kB / 0.5311 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.6788, allocations: 140.2 kB / 0.5313 GB, free: 82.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.679, allocations: 181.3 kB / 0.5314 GB, free: 81.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.6796, allocations: 0.7295 MB / 0.5321 GB, free: 81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6796, allocations: 0 / 0.5321 GB, free: 81 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001057/0.6807, allocations: 0.8776 MB / 0.533 GB, free: 80.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.6808, allocations: 245.6 kB / 0.5332 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.6808, allocations: 7.984 kB / 0.5332 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.6809, allocations: 0 / 0.5332 GB, free: 79.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.6809, allocations: 4 kB / 0.5332 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6809, allocations: 4 kB / 0.5332 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.6812, allocations: 35.98 kB / 0.5333 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/0.6815, allocations: 272.4 kB / 0.5335 GB, free: 79.48 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.0006341/0.6821, allocations: 0.6084 MB / 0.5341 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6822, allocations: 75.16 kB / 0.5342 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.6825, allocations: 130.9 kB / 0.5343 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6825, allocations: 0 / 0.5343 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6825, allocations: 4 kB / 0.5343 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.6825, allocations: 4 kB / 0.5343 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.6842, allocations: 1.561 MB / 0.5359 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6842, allocations: 0 / 0.5359 GB, free: 76.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.6842, allocations: 7.984 kB / 0.5359 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.6842, allocations: 0 / 0.5359 GB, free: 76.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.6843, allocations: 47.97 kB / 0.5359 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6843, allocations: 0 / 0.5359 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6843, allocations: 0 / 0.5359 GB, free: 76.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6856, allocations: 1.09 MB / 0.537 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005094/0.6861, allocations: 423.8 kB / 0.5374 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.6862, allocations: 27.94 kB / 0.5374 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.6864, allocations: 31.97 kB / 0.5374 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.6866, allocations: 71.92 kB / 0.5375 GB, free: 75.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.6869, allocations: 271.7 kB / 0.5378 GB, free: 74.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007954/0.6877, allocations: 0.6977 MB / 0.5384 GB, free: 74.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6877, allocations: 0 / 0.5384 GB, free: 74.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.6881, allocations: 92 kB / 0.5385 GB, free: 74.12 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.0001914/0.6883, allocations: 139.2 kB / 0.5387 GB, free: 73.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.6891, allocations: 0.9138 MB / 0.5396 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6892, allocations: 0 / 0.5396 GB, free: 72.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.6896, allocations: 0.7718 MB / 0.5403 GB, free: 72.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009011/0.6906, allocations: 233.1 kB / 0.5405 GB, free: 71.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.6924, allocations: 1.464 MB / 0.542 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6928, allocations: 0.9402 MB / 0.5429 GB, free: 69.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002443/0.6931, allocations: 89.36 kB / 0.543 GB, free: 69.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.6e-05/0.6932, allocations: 47.36 kB / 0.543 GB, free: 69.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6932, allocations: 0 / 0.543 GB, free: 69.29 MB / 378.7 MB Notification: Performance of Templates: time 0.01387/0.7071, allocations: 11.99 MB / 0.5547 GB, free: 57.17 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches