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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3244, allocations: 50.54 MB / 409.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002764/0.3272, allocations: 1.82 MB / 411.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.3293, allocations: 0.9783 MB / 412 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.3294, allocations: 0 / 412 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.3296, allocations: 27.72 kB / 412.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.3297, allocations: 39.7 kB / 412.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.33, allocations: 95.83 kB / 412.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.3304, allocations: 315.4 kB / 412.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3305, allocations: 53.59 kB / 412.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006995/0.3312, allocations: 0.7408 MB / 413.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3314, allocations: 143.4 kB / 413.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.504e-05/0.3315, allocations: 24 kB / 413.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.896e-05/0.3316, allocations: 20 kB / 413.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3317, allocations: 143.4 kB / 413.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.332, allocations: 246.2 kB / 413.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.3326, allocations: 0.7408 MB / 414.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3326, allocations: 0 / 414.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3326, allocations: 0 / 414.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3326, allocations: 4 kB / 414.6 MB, free: 12.35 MB / 334.1 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.001236/0.3339, allocations: 1.161 MB / 415.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3339, allocations: 8.031 kB / 415.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.334, allocations: 87.94 kB / 415.9 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3345, allocations: 384.3 kB / 416.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3345, allocations: 20.56 kB / 416.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3345, allocations: 16.38 kB / 416.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.3351, allocations: 257.8 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.3351, allocations: 0 / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.3351, allocations: 15.94 kB / 416.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3351, allocations: 4 kB / 416.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.3354, allocations: 136.2 kB / 416.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3365, allocations: 0.7387 MB / 417.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.3369, allocations: 202.4 kB / 417.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.3372, allocations: 176.8 kB / 417.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3372, allocations: 0 / 417.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006031/0.3378, allocations: 389.8 kB / 418.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.146e-06/0.3378, allocations: 3.984 kB / 418.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.00174/0.3396, allocations: 0.9317 MB / 419.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.3397, allocations: 281 kB / 419.4 MB, free: 7.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3409, allocations: 0.9529 MB / 420.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3409, allocations: 37.7 kB / 420.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.881e-05/0.341, allocations: 126 kB / 420.5 MB, free: 6.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-05/0.3411, allocations: 67.19 kB / 420.6 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.3413, allocations: 161.1 kB / 420.7 MB, free: 5.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3415, allocations: 334.8 kB / 421.1 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.3417, allocations: 124.2 kB / 421.2 MB, free: 5.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.342, allocations: 161.3 kB / 421.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.3427, allocations: 0.6989 MB / 422 MB, free: 4.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3427, allocations: 3.938 kB / 422 MB, free: 4.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00105/0.3438, allocations: 0.7681 MB / 422.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.3439, allocations: 248.5 kB / 423 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.3439, allocations: 0 / 423 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.344, allocations: 4 kB / 423 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.344, allocations: 4 kB / 423.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.344, allocations: 4 kB / 423.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.3443, allocations: 23.89 kB / 423.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3444, allocations: 108.1 kB / 423.2 MB, free: 3.156 MB / 334.1 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,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006486/0.3451, allocations: 0.6162 MB / 423.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.3452, allocations: 75.16 kB / 423.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.3454, allocations: 134.9 kB / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3454, allocations: 0 / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3454, allocations: 0 / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3454, allocations: 0 / 424 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.3473, allocations: 1.433 MB / 425.4 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3473, allocations: 4 kB / 425.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.586e-05/0.3473, allocations: 11.98 kB / 425.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3473, allocations: 0 / 425.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.3474, allocations: 31.97 kB / 425.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3474, allocations: 0 / 425.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3474, allocations: 0 / 425.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.3486, allocations: 0.9648 MB / 426.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005394/0.3492, allocations: 415.7 kB / 426.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.3493, allocations: 27.98 kB / 426.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3495, allocations: 23.98 kB / 426.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.3497, allocations: 55.94 kB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.3498, allocations: 115.8 kB / 427.1 MB, free: 15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008522/0.3507, allocations: 0.6898 MB / 427.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3507, allocations: 4 kB / 427.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003619/0.351, allocations: 99.88 kB / 427.9 MB, free: 14.22 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002042/0.3513, allocations: 143.2 kB / 428 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.3523, allocations: 0.8851 MB / 428.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3523, allocations: 0 / 428.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.353, allocations: 0.7491 MB / 429.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.354, allocations: 272.7 kB / 429.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3559, allocations: 1.281 MB / 431.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/0.3566, allocations: 0.9403 MB / 432.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.3568, allocations: 93.33 kB / 432.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.3569, allocations: 51.36 kB / 432.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3569, allocations: 0 / 432.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of Templates: time 0.01449/0.3714, allocations: 9.476 MB / 441.7 MB, free: 124 kB / 350.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches