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.001361/0.001361, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 50.53 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003127/0.2837, allocations: 1.831 MB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2859, allocations: 0.9822 MB / 412 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.286, allocations: 4 kB / 412.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.2862, allocations: 19.78 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.773e-05/0.2863, allocations: 39.66 kB / 412.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.2866, allocations: 95.81 kB / 412.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.287, allocations: 319.3 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2872, allocations: 45.67 kB / 412.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.288, allocations: 0.7174 MB / 413.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2882, allocations: 147.4 kB / 413.4 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.423e-05/0.2883, allocations: 20 kB / 413.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.2884, allocations: 20 kB / 413.5 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2885, allocations: 139.4 kB / 413.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.2888, allocations: 246.2 kB / 413.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000699/0.2895, allocations: 0.7545 MB / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2895, allocations: 0 / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2895, allocations: 0 / 414.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2895, allocations: 4 kB / 414.6 MB, free: 12.22 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.001218/0.2908, allocations: 1.192 MB / 415.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2908, allocations: 12.03 kB / 415.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.291, allocations: 80.45 kB / 415.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.2914, allocations: 400.9 kB / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/0.2914, allocations: 12.56 kB / 416.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2915, allocations: 16.38 kB / 416.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.292, allocations: 257.6 kB / 416.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2921, allocations: 7.938 kB / 416.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2921, allocations: 8 kB / 416.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2921, allocations: 4 kB / 416.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.2924, allocations: 140.1 kB / 416.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2935, allocations: 0.7271 MB / 417.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.2939, allocations: 198.4 kB / 417.6 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.2942, allocations: 180.8 kB / 417.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2942, allocations: 4 kB / 417.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006162/0.2948, allocations: 389.9 kB / 418.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.562e-06/0.2948, allocations: 0 / 418.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.001422/0.2962, allocations: 0.9283 MB / 419.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.2964, allocations: 281 kB / 419.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.2976, allocations: 0.9491 MB / 420.3 MB, free: 6.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.2977, allocations: 37.7 kB / 420.4 MB, free: 6.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.2978, allocations: 138 kB / 420.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.989e-05/0.2979, allocations: 67.48 kB / 420.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.2981, allocations: 161.3 kB / 420.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2982, allocations: 334.8 kB / 421.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2985, allocations: 124.2 kB / 421.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.2988, allocations: 161.4 kB / 421.3 MB, free: 5.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.2995, allocations: 0.7028 MB / 422 MB, free: 4.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2995, allocations: 3.938 kB / 422 MB, free: 4.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001094/0.3006, allocations: 0.7605 MB / 422.8 MB, free: 3.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.3007, allocations: 237.6 kB / 423 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3007, allocations: 8.094 kB / 423 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3008, allocations: 0 / 423 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.3008, allocations: 15.92 kB / 423.1 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3008, allocations: 4 kB / 423.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.3011, allocations: 23.94 kB / 423.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.3012, allocations: 112.1 kB / 423.2 MB, free: 2.988 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.0005759/0.3018, allocations: 0.6239 MB / 423.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.3019, allocations: 79.53 kB / 423.9 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.3021, allocations: 130.9 kB / 424 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3021, allocations: 0 / 424 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3021, allocations: 3.984 kB / 424 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3021, allocations: 4 kB / 424 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.3039, allocations: 1.421 MB / 425.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.304, allocations: 0 / 425.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.304, allocations: 7.984 kB / 425.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.304, allocations: 0 / 425.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.304, allocations: 27.98 kB / 425.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.304, allocations: 8 kB / 425.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3041, allocations: 3.938 kB / 425.5 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.3052, allocations: 0.9692 MB / 426.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.3057, allocations: 416.2 kB / 426.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-05/0.3058, allocations: 16 kB / 426.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.306, allocations: 27.97 kB / 426.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.3062, allocations: 55.86 kB / 427 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.3063, allocations: 119.8 kB / 427.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008657/0.3072, allocations: 0.6938 MB / 427.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3072, allocations: 0 / 427.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.3076, allocations: 99.88 kB / 427.9 MB, free: 14.05 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.0001714/0.3078, allocations: 143.2 kB / 428 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009645/0.3087, allocations: 0.8818 MB / 428.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3087, allocations: 192 / 428.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.3094, allocations: 0.7531 MB / 429.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.3105, allocations: 280.7 kB / 429.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3123, allocations: 1.284 MB / 431.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.3129, allocations: 0.9442 MB / 432.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.3131, allocations: 89.34 kB / 432.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.3132, allocations: 55.3 kB / 432.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3132, allocations: 0 / 432.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of Templates: time 0.01392/0.3272, allocations: 9.49 MB / 441.8 MB, free: 15.92 MB / 366.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